[package]
edition = "2024"
rust-version = "1.85"
name = "exochain-core"
version = "0.2.0-beta"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "EXOCHAIN constitutional trust fabric — foundational deterministic types, HLC, crypto, BCTS state machine"
documentation = "https://docs.exochain.io"
readme = false
license = "Apache-2.0"
repository = "https://github.com/exochain/exochain"
resolver = "2"
[package.metadata.cargo-machete]
ignored = [
"chrono",
"getrandom",
"indexmap",
]
[lib]
name = "exo_core"
path = "src/lib.rs"
[[test]]
name = "chain_of_custody"
path = "tests/chain_of_custody.rs"
[[test]]
name = "cross_impl_hash_vectors"
path = "tests/cross_impl_hash_vectors.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "ml_dsa_tests"
path = "tests/ml_dsa_tests.rs"
[dependencies.blake3]
version = "=1.8.2"
[dependencies.chrono]
version = "=0.4.44"
features = [
"serde",
"wasmbind",
"clock",
]
default-features = false
[dependencies.ciborium]
version = "=0.2.2"
[dependencies.ed25519-dalek]
version = "=2.2.0"
features = [
"serde",
"rand_core",
]
[dependencies.indexmap]
version = "=2.12.1"
features = ["serde"]
[dependencies.ml-dsa]
version = "=0.1.0-rc.7"
features = ["zeroize"]
[dependencies.rand]
version = "=0.8.6"
[dependencies.serde]
version = "=1.0.228"
features = ["derive"]
[dependencies.thiserror]
version = "=2.0.17"
[dependencies.uuid]
version = "=1.22.0"
features = [
"v4",
"serde",
"js",
]
[dependencies.zeroize]
version = "=1.8.2"
features = ["derive"]
[dev-dependencies.proptest]
version = "=1.9.0"
[dev-dependencies.serde_json]
version = "=1.0.145"
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "=0.2.16"
features = ["js"]
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3"
[lints.clippy]
as_conversions = "warn"
expect_used = "deny"
float_arithmetic = "deny"
float_cmp = "deny"
float_cmp_const = "deny"
unwrap_used = "deny"
[lints.rust]
unsafe_code = "deny"