# 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 = "ac-primitives" version = "1.16.0" authors = ["Supercomputing Systems AG "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Substrate-api-client primitive types" readme = "README.md" categories = ["no-std"] license = "Apache-2.0" repository = "https://github.com/scs/substrate-api-client" [lib] name = "ac_primitives" path = "src/lib.rs" [dependencies.codec] version = "3.6.1" features = ["derive"] default-features = false package = "parity-scale-codec" [dependencies.frame-system] version = "38.0.0" optional = true [dependencies.impl-serde] version = "0.4" default-features = false [dependencies.pallet-assets] version = "40.0.0" optional = true [dependencies.pallet-balances] version = "39.0.0" optional = true [dependencies.pallet-contracts] version = "38.0.0" optional = true [dependencies.pallet-staking] version = "38.0.0" optional = true [dependencies.primitive-types] version = "0.12.1" features = [ "serde_no_std", "scale-info", ] default-features = false [dependencies.scale-info] version = "2.1.1" features = ["derive"] default-features = false [dependencies.serde] version = "1.0" features = [ "derive", "alloc", ] default-features = false [dependencies.serde_json] version = "1.0" features = ["alloc"] default-features = false [dependencies.sp-application-crypto] version = "38.0.0" features = ["full_crypto"] default-features = false [dependencies.sp-core] version = "34.0.0" features = [ "full_crypto", "serde", ] default-features = false [dependencies.sp-crypto-hashing] version = "0.1.0" default-features = false [dependencies.sp-runtime] version = "39.0.1" features = ["serde"] default-features = false [dependencies.sp-runtime-interface] version = "28.0.0" default-features = false [dependencies.sp-staking] version = "36.0.0" features = ["serde"] default-features = false [dependencies.sp-version] version = "37.0.0" features = ["serde"] default-features = false [dependencies.sp-weights] version = "31.0.0" features = ["serde"] default-features = false [dev-dependencies.frame-metadata-hash-extension] version = "0.6.0" [dev-dependencies.pallet-transaction-payment] version = "38.0.0" [dev-dependencies.sp-keyring] version = "39.0.0" [features] contracts-xt = [ "std", "pallet-contracts", ] default = ["std"] disable-metadata-hash-check = [] disable_target_static_assertions = ["sp-runtime-interface/disable_target_static_assertions"] staking-xt = [ "std", "pallet-staking", ] std = [ "codec/std", "primitive-types/std", "scale-info/std", "serde/std", "serde_json/std", "sp-core/std", "sp-crypto-hashing/std", "sp-runtime/std", "sp-staking/std", "sp-version/std", "sp-weights/std", "sp-application-crypto/std", "frame-system", "pallet-assets", "pallet-balances", ]