# 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 = "entropy-shared" version = "0.3.0" authors = ["Entropy Cryptography "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Shared types used by the Entropy chain node and Entropy Threshold Signing Server" homepage = "https://entropy.xyz/" readme = "README.md" license = "AGPL-3.0-or-later" repository = "https://github.com/entropyxyz/entropy-core" [lib] name = "entropy_shared" path = "src/lib.rs" [dependencies.blake2] version = "0.10.4" default-features = false [dependencies.codec] version = "3.0.0" default-features = false package = "parity-scale-codec" [dependencies.hex-literal] version = "0.4.1" [dependencies.lazy_static] version = "1.5.0" features = ["spin_no_std"] [dependencies.scale-info] version = "2.11.3" features = ["derive"] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] default-features = false [dependencies.serde_derive] version = "1.0.147" [dependencies.sp-core] version = "29.0.0" default-features = false [dependencies.sp-runtime] version = "32.0.0" features = ["serde"] optional = true default-features = false [dependencies.sp-std] version = "12.0.0" default-features = false [dependencies.strum] version = "0.26.3" [dependencies.strum_macros] version = "0.26.4" [dependencies.subxt] version = "0.35.3" optional = true default-features = false [features] default = ["std"] std = [ "codec/std", "scale-info/std", "serde/std", "sp-runtime/std", "sp-std/std", ] user-native = [ "dep:subxt", "subxt/native", ] user-wasm = [ "dep:subxt", "subxt/web", ] wasm = [ "codec/std", "scale-info/std", "serde/std", "sp-std/std", ] wasm-no-std = ["sp-runtime"]