Skip to content

Commit d81d8d0

Browse files
committed
Optimize cargo-generate rules
1 parent 1ff8ac9 commit d81d8d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

native-simulator/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
77
[dependencies]
8-
{{project-name | remove: "-sim"}} = { path = "../../contracts/{{project-name | remove: "-sim"}}", features = ["native-simulator"] }
8+
{{project-name | append: "@@SIMULATOR_PLACEHOLDER@@" | remove: "-sim@@SIMULATOR_PLACEHOLDER@@"}} = { path = "../../contracts/{{project-name | append: "@@SIMULATOR_PLACEHOLDER@@" | remove: "-sim@@SIMULATOR_PLACEHOLDER@@"}}", features = ["native-simulator"] }
99
ckb-std = { version = "0.15.3", features = ["native-simulator"] }
1010

1111
[lib]

0 commit comments

Comments
 (0)