소스 검색

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
 "#
 }