# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "casper-types"
version = "0.9.4"
authors = ["Fraser Hutchison <fraser@casperlabs.io>"]
description = "Types used to allow creation of Wasm contracts and tests for use on the Casper network."
homepage = "https://casperlabs.io"
documentation = "https://docs.rs/casper-types"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/CasperLabs/casper-node/tree/master/types"

[[bench]]
name = "bytesrepr_bench"
harness = false
[dependencies.base16]
version = "0.2.1"
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"
default-features = false

[dependencies.displaydoc]
version = "0.1"
optional = true
default-features = false

[dependencies.ed25519-dalek]
version = "1.0.0"
features = ["rand", "u64_backend"]
default-features = false

[dependencies.hex]
version = "0.4.2"
default-features = false

[dependencies.hex_fmt]
version = "0.3.0"

[dependencies.k256]
version = "0.7.2"
features = ["ecdsa", "zeroize"]
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.3.0"
default-features = false

[dependencies.num-traits]
version = "0.2.10"
default-features = false

[dependencies.once_cell]
version = "1.5.2"

[dependencies.proptest]
version = "0.10.0"
optional = true

[dependencies.rand]
version = "0.8.3"
features = ["small_rng"]
default-features = false

[dependencies.schemars]
version = "0.8.0"
features = ["preserve_order"]
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "1.0.59"
default-features = false

[dependencies.thiserror]
version = "1.0.20"
optional = true
default-features = false

[dependencies.uint]
version = "0.8.3"
default-features = false
[dev-dependencies.bincode]
version = "1.3.1"

[dev-dependencies.criterion]
version = "0.3.3"

[dev-dependencies.getrandom]
version = "0.2.0"
features = ["rdrand"]

[dev-dependencies.proptest]
version = "0.10.0"

[dev-dependencies.serde_json]
version = "1.0.55"

[dev-dependencies.serde_test]
version = "1.0.117"

[dev-dependencies.version-sync]
version = "0.9"

[features]
default = ["base16/alloc", "hex/alloc", "serde/alloc", "serde_json/alloc", "displaydoc"]
gens = ["std", "proptest/std"]
std = ["base16/std", "base64/std", "ed25519-dalek/std", "ed25519-dalek/serde", "hex/std", "k256/std", "serde/std", "serde_json/std", "schemars", "thiserror"]
