# 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"
name = "tibet-trust-kernel"
version = "1.0.0-alpha.5"
authors = [
    "Jasper van de Meent <jasper@humotica.com>",
    "Root AI <root_idd@humotica.nl>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Zero-trust security foundation — AES-256-GCM encryption, SHA-256 integrity, sandboxed execution, cross-machine memory transport. For finance, IoT, AI, databases, anything zero-trust."
homepage = "https://ainternet.org"
readme = "README.md"
keywords = [
    "zero-trust",
    "encryption",
    "userfaultfd",
    "cross-machine",
    "tibet",
]
categories = [
    "cryptography",
    "hardware-support",
    "memory-management",
]
license = "MIT"
repository = "https://github.com/Humotica/tibet-trust-kernel"

[package.metadata.docs.rs]
features = ["kvm"]

[features]
cluster = []
default = [
    "simulation",
    "cluster",
    "llm",
]
full = [
    "cluster",
    "llm",
    "quic",
]
kvm = []
llm = ["cluster"]
quic = [
    "cluster",
    "dep:quinn",
    "dep:rustls",
    "dep:rcgen",
]
simulation = []

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

[[bin]]
name = "cluster-paging-demo"
path = "src/bin/cluster_paging_demo.rs"

[[bin]]
name = "cluster-transport-demo"
path = "src/bin/cluster_transport_demo.rs"

[[bin]]
name = "dual-kernel-demo"
path = "src/bin/dual_kernel_demo.rs"

[[bin]]
name = "gguf-raid-test"
path = "src/bin/gguf_raid_test.rs"

[[bin]]
name = "llm-mapper-demo"
path = "src/bin/llm_mapper_demo.rs"

[[bin]]
name = "osapi-smoke"
path = "src/bin/osapi_smoke.rs"

[[bin]]
name = "overlay-mux-demo"
path = "src/bin/overlay_mux_demo.rs"
required-features = ["quic"]

[[bin]]
name = "portmux-xdp-demo"
path = "src/bin/portmux_xdp_demo.rs"

[[bin]]
name = "ram-raid-cluster-demo"
path = "src/bin/ram_raid_cluster_demo.rs"

[[bin]]
name = "tibet-bench"
path = "src/bin/tibet_bench.rs"

[[bin]]
name = "tibet-trust-kernel"
path = "src/main.rs"

[[bench]]
name = "airlock_bench"
path = "benches/airlock_bench.rs"
harness = false

[[bench]]
name = "bifurcation_bench"
path = "benches/bifurcation_bench.rs"
harness = false

[[bench]]
name = "container_bench"
path = "benches/container_bench.rs"
harness = false

[[bench]]
name = "portmux_bench"
path = "benches/portmux_bench.rs"
harness = false

[[bench]]
name = "profile_bench"
path = "benches/profile_bench.rs"
harness = false

[[bench]]
name = "ram_raid_bench"
path = "benches/ram_raid_bench.rs"
harness = false

[[bench]]
name = "roi_bench"
path = "benches/roi_bench.rs"
harness = false

[[bench]]
name = "seccomp_zandbak_bench"
path = "benches/seccomp_zandbak_bench.rs"
harness = false

[[bench]]
name = "snapshot_bench"
path = "benches/snapshot_bench.rs"
harness = false

[[bench]]
name = "upip_pager_bench"
path = "benches/upip_pager_bench.rs"
harness = false

[[bench]]
name = "vmm_inject_bench"
path = "benches/vmm_inject_bench.rs"
harness = false

[[bench]]
name = "xdp_bench"
path = "benches/xdp_bench.rs"
harness = false

[dependencies.aes-gcm]
version = "0.10"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.hkdf]
version = "0.12"

[dependencies.libc]
version = "0.2"

[dependencies.quinn]
version = "0.11"
optional = true

[dependencies.rand]
version = "0.8"

[dependencies.rayon]
version = "1.10"

[dependencies.rcgen]
version = "0.13"
optional = true

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.userfaultfd]
version = "0.8.1"

[dependencies.x25519-dalek]
version = "2"
features = ["static_secrets"]
