# 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 = "substrate-api-client" version = "1.16.0" authors = ["Supercomputing Systems AG "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Json-rpc client with helper functions compatible with any Substrate node" readme = "README.md" keywords = [ "json", "rpc", "polkadot", "api", "blockchain", ] categories = [ "no-std", "wasm", ] license = "Apache-2.0" repository = "https://github.com/scs/substrate-api-client" [lib] name = "substrate_api_client" path = "src/lib.rs" [dependencies.ac-compose-macros] version = "1.16" default-features = false [dependencies.ac-node-api] version = "1.16" default-features = false [dependencies.ac-primitives] version = "1.16" default-features = false [dependencies.async-trait] version = "0.1.68" [dependencies.codec] version = "3.6.1" features = ["derive"] default-features = false package = "parity-scale-codec" [dependencies.derive_more] version = "0.99.5" [dependencies.frame-metadata] version = "16.0" features = [ "current", "serde_full", "decode", ] default-features = false [dependencies.frame-support] version = "38.0.0" optional = true [dependencies.futures-util] version = "0.3" default-features = false [dependencies.hex] version = "0.4.3" features = ["alloc"] default-features = false [dependencies.jsonrpsee] version = "0.24" features = [ "async-client", "client-ws-transport-tls", "jsonrpsee-types", ] optional = true [dependencies.log] version = "0.4.14" default-features = false [dependencies.maybe-async] version = "0.2.7" [dependencies.serde] version = "1.0.136" features = ["derive"] default-features = false [dependencies.serde_json] version = "1.0.79" 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-inherents] version = "34.0.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-storage] version = "21.0.0" features = ["serde"] default-features = false [dependencies.sp-version] version = "37.0.0" features = ["serde"] default-features = false [dependencies.tungstenite] version = "0.23" features = [ "native-tls", "url", ] optional = true [dependencies.url] version = "2.5" optional = true [dependencies.ws] version = "0.9.2" features = ["ssl"] optional = true [dev-dependencies.ac-node-api] version = "1.16" features = ["mocks"] [dev-dependencies.rococo-runtime] version = "18.0.0" [dev-dependencies.scale-info] version = "2.1.1" features = ["derive"] [dev-dependencies.test-case] version = "3.1.0" [features] contracts-xt = [ "std", "ac-primitives/contracts-xt", ] default = [ "std", "jsonrpsee-client", ] disable-metadata-hash-check = ["ac-primitives/disable-metadata-hash-check"] disable_target_static_assertions = ["sp-runtime-interface/disable_target_static_assertions"] jsonrpsee-client = [ "std", "jsonrpsee", ] staking-xt = [ "std", "ac-primitives/staking-xt", ] std = [ "codec/std", "frame-metadata/std", "hex/std", "log/std", "serde/std", "serde_json/std", "futures-util/std", "url", "sp-core/std", "sp-runtime/std", "sp-runtime-interface/std", "sp-storage/std", "sp-version/std", "frame-support", "ac-compose-macros/std", "ac-node-api/std", "ac-primitives/std", ] sync-api = [ "ac-compose-macros/sync-api", "maybe-async/is_sync", ] tungstenite-client = [ "std", "tungstenite", "sync-api", ] ws-client = [ "std", "ws", "sync-api", ]