Skip to content

Commit

Permalink
make rustc_version optional
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Sep 14, 2024
1 parent 5866a2d commit a910bff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion programs/sbf/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions sdk/transaction-error/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ solana-sanitize = { workspace = true }
thiserror = { workspace = true }

[build-dependencies]
rustc_version = { workspace = true }
rustc_version = { workspace = true, optional = true }

[features]
frozen-abi = ["dep:solana-frozen-abi", "dep:solana-frozen-abi-macro"]
frozen-abi = [
"dep:rustc_version",
"dep:solana-frozen-abi",
"dep:solana-frozen-abi-macro"
]
serde = ["dep:serde", "dep:serde_derive"]

[package.metadata.docs.rs]
Expand Down

0 comments on commit a910bff

Please sign in to comment.