[package] name = "ac-primitives" version = "1.16.0" authors = ["Supercomputing Systems AG "] license = "Apache-2.0" edition = "2021" repository = "https://github.com/scs/substrate-api-client" description = "Substrate-api-client primitive types" readme = "README.md" categories = ["no-std"] [dependencies] codec = { package = "parity-scale-codec", version = "3.6.1", default-features = false, features = ['derive'] } impl-serde = { version = "0.4", default-features = false } primitive-types = { version = "0.12.1", default-features = false, features = ["serde_no_std", "scale-info"] } scale-info = { version = "2.1.1", default-features = false, features = ["derive"] } serde = { version = "1.0", default-features = false, features = ["derive", "alloc"] } serde_json = { version = "1.0", default-features = false, features = ["alloc"] } # substrate no_std sp-core = { version = "34.0.0", default-features = false, features = ["full_crypto", "serde"] } sp-crypto-hashing = { version = "0.1.0", default-features = false } sp-runtime = { version = "39.0.1", default-features = false, features = ["serde"] } sp-runtime-interface = { version = "28.0.0", default-features = false } sp-staking = { version = "36.0.0", default-features = false, features = ["serde"] } sp-version = { version = "37.0.0", default-features = false, features = ["serde"] } sp-weights = { version = "31.0.0", default-features = false, features = ["serde"] } # need to add this for the app_crypto macro sp-application-crypto = { version = "38.0.0", default-features = false, features = ["full_crypto"] } # substrate std / wasm only frame-system = { version = "38.0.0", optional = true } pallet-assets = { version = "40.0.0", optional = true } pallet-balances = { version = "39.0.0", optional = true } pallet-contracts = { version = "38.0.0", optional = true } pallet-staking = { version = "38.0.0", optional = true } [dev-dependencies] frame-metadata-hash-extension = { version = "0.6.0" } solochain-template-runtime = { git = "https://github.com/paritytech/polkadot-sdk.git", branch = "master" } sp-keyring = { version = "39.0.0" } pallet-transaction-payment = { version = "38.0.0" } [features] default = ["std"] # To support `no_std` builds in non-32 bit environments. disable_target_static_assertions = [ "sp-runtime-interface/disable_target_static_assertions", ] disable-metadata-hash-check = [] std = [ "codec/std", "primitive-types/std", "scale-info/std", "serde/std", "serde_json/std", # substrate no_std "sp-core/std", "sp-crypto-hashing/std", "sp-runtime/std", "sp-staking/std", "sp-version/std", "sp-weights/std", "sp-application-crypto/std", # substrate std "frame-system", "pallet-assets", "pallet-balances", ] staking-xt = ["std", "pallet-staking"] contracts-xt = ["std", "pallet-contracts"]