chio-core-types 0.1.0

Shared Chio substrate types for capability, receipt, manifest, and session boundaries
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.93"
name = "chio-core-types"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared Chio substrate types for capability, receipt, manifest, and session boundaries"
readme = false
license = "Apache-2.0"
repository = "https://github.com/backbay/chio"

[features]
default = ["std"]
fips = [
    "dep:aws-lc-rs",
    "std",
]
std = [
    "serde/std",
    "serde_json/std",
    "ed25519-dalek/std",
    "rand_core/std",
    "sha2/std",
    "hex/std",
    "percent-encoding/std",
    "url/std",
    "dep:thiserror",
]

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

[[test]]
name = "capability_constraint_variants"
path = "tests/capability_constraint_variants.rs"

[[test]]
name = "no_std_build"
path = "tests/no_std_build.rs"

[[test]]
name = "protocol_error_registry"
path = "tests/protocol_error_registry.rs"

[[test]]
name = "receipt_tenant_id"
path = "tests/receipt_tenant_id.rs"

[[test]]
name = "threat_model_artifacts"
path = "tests/threat_model_artifacts.rs"

[[test]]
name = "wire_protocol_schema"
path = "tests/wire_protocol_schema.rs"

[dependencies.aws-lc-rs]
version = "1.16"
features = ["aws-lc-sys"]
optional = true
default-features = false

[dependencies.ed25519-dalek]
version = "2"
features = [
    "rand_core",
    "zeroize",
    "alloc",
]
default-features = false

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

[dependencies.percent-encoding]
version = "2"
features = ["alloc"]
default-features = false

[dependencies.rand_core]
version = "0.6"
features = ["getrandom"]
default-features = false

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

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

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

[dependencies.sha2]
version = "0.10"
default-features = false

[dependencies.thiserror]
version = "1"
optional = true

[dependencies.url]
version = "2"
default-features = false

[dev-dependencies.jsonschema]
version = "0.46.0"
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"