[package]
edition = "2021"
rust-version = "1.93"
name = "chio-kernel-core"
version = "0.1.2"
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable (no_std + alloc) Chio kernel core: pure verdict evaluation, capability verification, and receipt signing"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/backbay-labs/chio"
[features]
default = [
"std",
"revocation-view",
]
dudect = [
"dep:dudect-bencher",
"std",
]
fuzz = [
"dep:arbitrary",
"std",
]
revocation-view = [
"dep:arc-swap",
"std",
]
std = [
"chio-core-types/std",
"serde/std",
"serde_json/std",
]
[lib]
name = "chio_kernel_core"
path = "src/lib.rs"
[[test]]
name = "adversarial_suite"
path = "tests/adversarial_suite.rs"
[[test]]
name = "dudect_mac_eq"
path = "tests/dudect/mac_eq.rs"
harness = false
required-features = ["dudect"]
[[test]]
name = "dudect_scope_subset"
path = "tests/dudect/scope_subset.rs"
harness = false
required-features = ["dudect"]
[[test]]
name = "mutation_boundaries"
path = "tests/mutation_boundaries.rs"
[[test]]
name = "normalized_proptest"
path = "tests/normalized_proptest.rs"
[[test]]
name = "passport_verify"
path = "tests/passport_verify.rs"
[[test]]
name = "portable_build"
path = "tests/portable_build.rs"
[[test]]
name = "property_evaluate"
path = "tests/property_evaluate.rs"
[[test]]
name = "revocation_view_concurrency"
path = "tests/revocation_view_concurrency.rs"
[[test]]
name = "scope_proptest"
path = "tests/scope_proptest.rs"
[dependencies.arbitrary]
version = "1"
features = ["derive"]
optional = true
[dependencies.arc-swap]
version = "1"
optional = true
[dependencies.chio-core-types]
version = "=0.1.2"
default-features = false
[dependencies.dudect-bencher]
version = "0.7"
optional = true
[dependencies.serde]
version = "1"
features = [
"derive",
"alloc",
]
default-features = false
[dependencies.serde_json]
version = "1"
features = ["alloc"]
default-features = false
[dev-dependencies.proptest]
version = "1.10"
[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]