# 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 = "2024"
rust-version = "1.90"
name = "bcx"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bifrost Causal Exchange protocol primitives for signed causal meaning and proof composition."
homepage = "https://github.com/valkyoth/bcx"
readme = "README.md"
keywords = [
    "protocol",
    "security",
    "audit",
    "causal",
    "no-std",
]
categories = [
    "authentication",
    "cryptography",
    "network-programming",
    "no-std",
]
license = "EUPL-1.2"
repository = "https://github.com/valkyoth/bcx"

[features]
alloc = [
    "bcx-core/alloc",
    "bcx-crypto/alloc",
    "bcx-model/alloc",
    "bcx-policy/alloc",
    "bcx-wire/alloc",
]
default = []
std = ["alloc"]

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

[dependencies.bcx-core]
version = "0.3.0"
default-features = false

[dependencies.bcx-crypto]
version = "0.3.0"
default-features = false

[dependencies.bcx-model]
version = "0.3.0"
default-features = false

[dependencies.bcx-policy]
version = "0.2.0"
default-features = false

[dependencies.bcx-wire]
version = "0.3.0"
default-features = false

[lints.clippy]
expect_used = "deny"
panic = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
unused_must_use = "deny"
