# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "solana-system-interface" version = "1.0.0" authors = ["Anza Maintainers "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Instructions and constructors for the System program" homepage = "https://anza.xyz/" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/solana-program/system" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg=docsrs"] targets = [ "x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", ] [lib] name = "solana_system_interface" path = "src/lib.rs" [dependencies.num-traits] version = "0.2" [dependencies.serde] version = "1.0.210" optional = true [dependencies.serde_derive] version = "1.0.210" optional = true [dependencies.solana-decode-error] version = "^2.1" [dependencies.solana-frozen-abi] version = "^2.1" features = ["frozen-abi"] optional = true [dependencies.solana-frozen-abi-macro] version = "^2.1" features = ["frozen-abi"] optional = true [dependencies.solana-instruction] version = "^2.1" features = [ "bincode", "std", ] optional = true [dependencies.solana-logger] version = "^2.1" optional = true [dependencies.solana-pubkey] version = "^2.1" default-features = false [dev-dependencies.anyhow] version = "1.0.89" [dev-dependencies.borsh] version = "1.5.1" features = [ "derive", "unstable__schema", ] [dev-dependencies.solana-account-info] version = "^2.1" [dev-dependencies.solana-cpi] version = "^2.1" [dev-dependencies.solana-nonce] version = "^0.0.2" [dev-dependencies.solana-program] version = "^2.1" default-features = false [dev-dependencies.solana-program-entrypoint] version = "^2.1" [dev-dependencies.solana-program-error] version = "^2.1" features = ["borsh"] [dev-dependencies.solana-pubkey] version = "^2.1" features = ["std"] [dev-dependencies.static_assertions] version = "1.1.0" [dev-dependencies.strum] version = "0.24" [dev-dependencies.strum_macros] version = "0.24" [features] bincode = [ "dep:solana-instruction", "serde", ] frozen-abi = [ "dep:solana-frozen-abi", "dep:solana-frozen-abi-macro", "dep:solana-logger", "solana-pubkey/frozen-abi", "solana-pubkey/std", ] serde = [ "dep:serde", "dep:serde_derive", "solana-pubkey/serde", ] [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3.72" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2"