浏览代码

cli: update cli templates (#1698)

Paul 3 年之前
父节点
当前提交
7803acb995
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      cli/src/template.rs

+ 2 - 1
cli/src/template.rs

@@ -52,7 +52,7 @@ pub fn cargo_toml(name: &str) -> String {
 name = "{0}"
 version = "0.1.0"
 description = "Created with Anchor"
-edition = "2018"
+edition = "2021"
 
 [lib]
 crate-type = ["cdylib", "lib"]
@@ -295,6 +295,7 @@ pub fn git_ignore() -> &'static str {
 target
 **/*.rs.bk
 node_modules
+test-ledger
 "#
 }