candid-core 0.1.0-beta.3

Canonical runtime Contract graph projection for Candid DID interfaces
Documentation
# 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.78"
name = "candid-core"
version = "0.1.0-beta.3"
build = false
include = [
    "/src/**/*.rs",
    "/examples/**/*.rs",
    "/docs/**/*.md",
    "/README.md",
    "/CHANGELOG.md",
    "/LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical runtime Contract graph projection for Candid DID interfaces"
homepage = "https://github.com/b3hr4d/candid-core"
documentation = "https://docs.rs/candid-core"
readme = "README.md"
keywords = [
    "candid",
    "did",
    "canonicalization",
    "content-addressing",
    "internet-computer",
]
categories = [
    "encoding",
    "data-structures",
    "development-tools",
]
license = "Apache-2.0"
repository = "https://github.com/b3hr4d/candid-core"

[features]
compiler = [
    "dep:candid",
    "dep:candid_parser",
]
default = [
    "compiler",
    "filesystem-compiler",
    "host-value",
]
filesystem-compiler = [
    "compiler",
    "dep:cap-std",
]
host-value = ["dep:ic_principal"]

[lib]
name = "candid_core"
path = "src/lib.rs"

[[bin]]
name = "candid-core"
path = "src/bin/candid-core.rs"
required-features = ["filesystem-compiler"]

[[example]]
name = "bounded_parsing"
path = "examples/bounded_parsing.rs"
required-features = ["compiler"]

[[example]]
name = "contract_walkthrough"
path = "examples/contract_walkthrough.rs"
required-features = ["compiler"]

[[example]]
name = "hermetic_bundle"
path = "examples/hermetic_bundle.rs"
required-features = ["compiler"]

[[example]]
name = "host_value_validation"
path = "examples/host_value_validation.rs"
required-features = [
    "compiler",
    "host-value",
]

[[example]]
name = "semantic_equivalence"
path = "examples/semantic_equivalence.rs"
required-features = ["compiler"]

[[example]]
name = "trust_boundary"
path = "examples/trust_boundary.rs"
required-features = ["compiler"]

[dependencies.candid]
version = "=0.10.30"
optional = true

[dependencies.candid_parser]
version = "=0.4.0"
optional = true

[dependencies.hex]
version = "=0.4.3"

[dependencies.ic_principal]
version = "=0.1.5"
features = ["convert"]
optional = true
default-features = false

[dependencies.serde]
version = "=1.0.228"
features = ["derive"]

[dependencies.serde_json]
version = "=1.0.150"

[dependencies.sha2]
version = "=0.10.9"

[dev-dependencies.candid_parser]
version = "=0.4.0"

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

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dev-dependencies.wasm-bindgen-test]
version = "=0.3.58"

[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dev-dependencies.criterion]
version = "=0.5.1"
features = ["cargo_bench_support"]
default-features = false

[target.'cfg(not(all(target_arch = "wasm32", target_os = "unknown")))'.dev-dependencies.proptest]
version = "=1.6.0"

[target.'cfg(not(target_os = "unknown"))'.dependencies.cap-std]
version = "=4.0.2"
optional = true