# 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" rust-version = "1.73" name = "concordium-contracts-common" version = "9.2.0" authors = ["Concordium "] description = "Common functionality used by smart contracts and the host environment on the Concordium blockchain." homepage = "https://github.com/Concordium/concordium-base" readme = "README.md" license = "MPL-2.0" repository = "https://github.com/Concordium/concordium-base" [package.metadata.docs.rs] features = [ "derive-serde", "std", ] targets = [ "wasm32-unknown-unknown", "x86_64-unknown-linux-gnu", ] [lib] crate-type = ["rlib"] [dependencies.arbitrary] version = "1.3" features = ["derive"] optional = true [dependencies.base64] version = "0.21" [dependencies.bs58] version = "0.5" features = ["check"] optional = true [dependencies.chrono] version = "0.4.35" optional = true [dependencies.concordium-contracts-common-derive] version = "4.1" [dependencies.fnv] version = "1.0" default-features = false [dependencies.getrandom] version = "0.2" features = ["custom"] optional = true [dependencies.hashbrown] version = "0.11" default-features = false [dependencies.hex] version = "0.4" optional = true [dependencies.num-bigint] version = "0.4" optional = true [dependencies.num-integer] version = "0.1" optional = true [dependencies.num-traits] version = "0.2" optional = true [dependencies.quickcheck] version = "1.0.3" optional = true [dependencies.rust_decimal] version = "1.26" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.thiserror] version = "1.0" optional = true [dev-dependencies.arbitrary] version = "1.3" features = ["derive"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.rand_pcg] version = "0.3" [features] build-schema = ["concordium-contracts-common-derive/build-schema"] concordium-quickcheck = [ "getrandom", "quickcheck", "concordium-contracts-common-derive/concordium-quickcheck", ] default = ["std"] derive-serde = [ "serde", "serde_json", "std", "bs58", "chrono", "num-bigint", "num-traits", "num-integer", "rust_decimal", "thiserror", "hex", ] fuzz = [ "derive-serde", "arbitrary", ] smart-contract = [] std = ["fnv/std"] wasm-test = ["concordium-contracts-common-derive/wasm-test"]