We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afc1c6d commit 1347315Copy full SHA for 1347315
.changeset/hungry-fans-promise.md
@@ -0,0 +1,5 @@
1
+---
2
+"create-solana-program": patch
3
4
+
5
+Add anchor as optional feature in Rust client
template/clients/rust/clients/rust/Cargo.toml.njk
@@ -8,10 +8,12 @@ readme = "README.md"
8
license-file = "../../LICENSE"
9
10
[features]
11
+anchor = ["dep:anchor-lang"]
12
test-sbf = []
13
serde = ["dep:serde", "dep:serde_with"]
14
15
[dependencies]
16
+anchor-lang = { version = "0.30.0", optional = true }
17
borsh = "^0.10"
18
num-derive = "^0.3"
19
num-traits = "^0.2"
0 commit comments