# 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.70.0" name = "candid" version = "0.10.10" authors = ["DFINITY Team"] include = [ "src", "Cargo.toml", "LICENSE", "README.md", ] description = "Candid is an interface description language (IDL) for interacting with canisters running on the Internet Computer." homepage = "https://internetcomputer.org/docs/current/developer-docs/build/candid/candid-concepts" documentation = "https://docs.rs/candid" readme = "README.md" keywords = [ "internet-computer", "idl", "candid", "dfinity", ] categories = [ "encoding", "wasm", ] license = "Apache-2.0" repository = "https://github.com/dfinity/candid" [package.metadata.docs.rs] features = ["all"] rustdoc-args = [ "--cfg", "docsrs", ] [[test]] name = "types" path = "tests/types.rs" required-features = ["value"] [[test]] name = "serde" path = "tests/serde.rs" required-features = ["bignum"] [[test]] name = "number" path = "tests/number.rs" required-features = ["bignum"] [dependencies.anyhow] version = "1.0" [dependencies.binread] version = "2.2" features = ["debug_template"] [dependencies.byteorder] version = "1.5.0" [dependencies.candid_derive] version = "=0.6.6" [dependencies.hex] version = "0.4.3" [dependencies.ic_principal] version = "0.1.0" [dependencies.leb128] version = "0.2.5" [dependencies.num-bigint] version = "0.4" features = ["serde"] optional = true [dependencies.num-traits] version = "0.2" optional = true [dependencies.paste] version = "1.0" [dependencies.pretty] version = "0.12" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_bytes] version = "0.11" optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.bincode] version = "1.3.3" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde_cbor] version = "0.11.2" [dev-dependencies.serde_json] version = "1.0.74" [features] all = [ "default", "value", "ic_principal/arbitrary", ] bignum = [ "dep:num-bigint", "dep:num-traits", ] default = [ "serde_bytes", "printer", "bignum", ] printer = ["dep:pretty"] value = [ "bignum", "printer", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.stacker] version = "0.1"