# 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 = "casper-types" version = "5.0.0" authors = ["Fraser Hutchison "] description = "Types shared by many casper crates for use on the Casper network." homepage = "https://casperlabs.io" documentation = "https://docs.rs/casper-types" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/casper-network/casper-node/tree/master/types" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[bench]] name = "bytesrepr_bench" harness = false required-features = ["testing"] [dependencies.base16] version = "0.2.1" features = ["alloc"] default-features = false [dependencies.base64] version = "0.13.0" default-features = false [dependencies.bincode] version = "1.3.1" optional = true [dependencies.bitflags] version = "1" [dependencies.blake2] version = "0.9.0" default-features = false [dependencies.datasize] version = "0.2.15" optional = true [dependencies.derive_more] version = "0.99.17" [dependencies.derp] version = "0.0.14" optional = true [dependencies.ed25519-dalek] version = "2.1.1" features = [ "alloc", "zeroize", ] default-features = false [dependencies.getrandom] version = "0.2.0" features = [ "rdrand", "js", ] optional = true [dependencies.hex] version = "0.4.2" features = ["alloc"] default-features = false [dependencies.hex_fmt] version = "0.3.0" [dependencies.humantime] version = "2" optional = true [dependencies.itertools] version = "0.10.3" default-features = false [dependencies.k256] version = "0.13.1" features = [ "ecdsa", "sha256", ] default-features = false [dependencies.libc] version = "0.2.146" optional = true default-features = false [dependencies.num] version = "0.4.0" features = ["alloc"] default-features = false [dependencies.num-derive] version = "0.4.2" default-features = false [dependencies.num-integer] version = "0.1.42" default-features = false [dependencies.num-rational] version = "0.4.0" features = ["serde"] default-features = false [dependencies.num-traits] version = "0.2.10" default-features = false [dependencies.once_cell] version = "1.5.2" optional = true [dependencies.pem] version = "0.8.1" optional = true [dependencies.proptest] version = "1.0.0" optional = true [dependencies.proptest-derive] version = "0.3.0" optional = true [dependencies.rand] version = "0.8.3" features = ["small_rng"] default-features = false [dependencies.rand_pcg] version = "0.3.0" optional = true [dependencies.schemars] version = "0.8.21" features = ["preserve_order"] optional = true [dependencies.serde] version = "1" features = [ "alloc", "derive", ] default-features = false [dependencies.serde-map-to-array] version = "1.1.0" [dependencies.serde_bytes] version = "0.11.5" features = ["alloc"] default-features = false [dependencies.serde_json] version = "1.0.59" features = ["alloc"] default-features = false [dependencies.strum] version = "0.24" features = ["derive"] optional = true [dependencies.thiserror] version = "1" optional = true [dependencies.tracing] version = "0.1.37" default-features = false [dependencies.uint] version = "0.9.0" default-features = false [dependencies.untrusted] version = "0.7.1" optional = true [dependencies.version-sync] version = "0.9" optional = true [dev-dependencies.base16] version = "0.2.1" features = ["std"] [dev-dependencies.bincode] version = "1.3.1" [dev-dependencies.criterion] version = "0.3.5" [dev-dependencies.derp] version = "0.0.14" [dev-dependencies.getrandom] version = "0.2.0" [dev-dependencies.humantime] version = "2" [dev-dependencies.once_cell] version = "1.5.2" [dev-dependencies.openssl] version = "0.10.66" [dev-dependencies.pem] version = "0.8.1" [dev-dependencies.proptest] version = "1.0.0" [dev-dependencies.proptest-attr-macro] version = "1.0.0" [dev-dependencies.proptest-derive] version = "0.3.0" [dev-dependencies.rand] version = "0.8.3" [dev-dependencies.rand_pcg] version = "0.3.0" [dev-dependencies.serde_json] version = "1" [dev-dependencies.serde_test] version = "1" [dev-dependencies.strum] version = "0.24" features = ["derive"] [dev-dependencies.tempfile] version = "3.4.0" [dev-dependencies.thiserror] version = "1" [dev-dependencies.untrusted] version = "0.7.1" [features] gens = ["testing"] json-schema = [ "once_cell", "schemars", "serde-map-to-array/json-schema", ] std = [ "base16/std", "derp", "getrandom/std", "humantime", "itertools/use_std", "libc", "once_cell", "pem", "serde_json/preserve_order", "thiserror", "untrusted", ] std-fs-io = ["std"] testing = [ "proptest", "proptest-derive", "rand/default", "rand_pcg", "strum", "bincode", "thiserror", "getrandom", "derp", ]