# 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 = "doughnut-rs" version = "0.2.2" authors = ["The Root Network Team"] description = "The official rust doughnut codec" readme = "README.md" license = "BUSL-1.1" repository = "https://github.com/futureversecom/trn-doughnut-rs" [dependencies.blake2] version = "0.10.6" optional = true default-features = false [dependencies.clear_on_drop] version = "0.2.3" features = ["no_cc"] [dependencies.codec] version = "3.6.9" features = ["derive"] default-features = false package = "parity-scale-codec" [dependencies.digest] version = "0.10.3" default-features = false [dependencies.ed25519-dalek] version = "1.0.0-pre.3" features = [ "u64_backend", "alloc", ] optional = true default-features = false [dependencies.libsecp256k1] version = "0.7" features = [ "hmac", "static-context", ] optional = true default-features = false [dependencies.primitive-types] version = "0.12.2" default-features = false [dependencies.schnorrkel] version = "0.11.4" optional = true default-features = false [dependencies.serde] version = "1.0.145" features = [ "derive", "alloc", ] default-features = false [dependencies.sha3] version = "0.10.8" optional = true default-features = false [dependencies.trn-pact] version = "0.2.1" default-features = false [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.rand_core] version = "0.5.1" features = ["alloc"] [features] crypto = [ "libsecp256k1", "ed25519-dalek", "schnorrkel", "blake2", "sha3", ] default = ["std"] std = [ "codec/std", "trn-pact/std", "serde/std", "crypto", "ed25519-dalek/std", "schnorrkel/std", "digest/std", ]