# 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 = "4.0.2" 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/CasperLabs/casper-node/tree/master/types" [[bench]] name = "bytesrepr_bench" harness = false [dependencies.base16] version = "0.2.1" features = ["alloc"] default-features = false [dependencies.base64] version = "0.13.0" default-features = false [dependencies.bitflags] version = "1" [dependencies.blake2] version = "0.9.0" default-features = false [dependencies.datasize] version = "0.2.4" optional = true [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"] 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.k256] version = "0.13.3" features = [ "ecdsa", "sha256", ] default-features = false [dependencies.num] version = "0.4.0" features = ["alloc"] default-features = false [dependencies.num-derive] version = "0.3.0" default-features = false [dependencies.num-integer] version = "0.1.42" default-features = false [dependencies.num-rational] version = "0.4.0" 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.5" features = ["preserve_order"] optional = true [dependencies.serde] version = "1" features = [ "alloc", "derive", ] default-features = false [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.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.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", ] std = [ "derp", "getrandom/std", "humantime", "once_cell", "pem", "serde_json/preserve_order", "thiserror", "untrusted", ] testing = [ "proptest", "proptest-derive", "rand_pcg", "strum", ]