# 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.70"
name = "omwei-atom"
version = "0.1.4"
authors = ["OMWEI Project <maintainers@omwei.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core implementation of OMWEI 32B Semantic Atom (32BSA) standard. Hardware-native integrity for Agentic AI."
homepage = "https://www.equinibrium.eu"
documentation = "https://docs.rs/omwei-atom"
readme = "README.md"
keywords = [
    "32BSA",
    "OMWEI",
    "SincereData",
    "AgenticAI",
    "SiliconCatalyst",
]
categories = [
    "embedded",
    "no-std",
    "cryptography",
    "wasm",
    "aerospace",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/LelloOmwei/omwei-atom"

[package.metadata.docs.rs]
all-features = false
features = ["std"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]
targets = ["x86_64-unknown-linux-gnu"]

[features]
default = ["std"]
pqc = ["dep:sha2"]
serde = [
    "dep:serde",
    "dep:serde_json",
]
std = [
    "serde?/std",
    "sha2?/std",
]

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

[[example]]
name = "trust_hierarchy_demo"
path = "examples/trust_hierarchy_demo.rs"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
default-features = false

[dependencies.serde_json]
version = "1.0"
optional = true

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

[dev-dependencies.rand]
version = "0.8"

[dev-dependencies.serde]
version = "1.0"
features = ["derive"]

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

[dev-dependencies.sha2]
version = "0.10"
