# 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.88"
name = "cellos-host-cellos"
version = "0.6.0-pre"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Recursive CellOS-in-CellOS backend — runs CellOS cells as nested supervisors. Used for federated and self-hosting topologies."
homepage = "https://github.com/0ryant/CellOS"
documentation = "https://docs.rs/cellos-host-cellos"
readme = "README.md"
keywords = [
    "cellos",
    "recursive",
    "federation",
    "nested",
    "sandbox",
]
categories = [
    "virtualization",
    "api-bindings",
]
license = "BUSL-1.1"
repository = "https://github.com/0ryant/CellOS"

[features]
dalek = ["cellos-core/dalek"]
default = ["dalek"]
fips = ["cellos-core/fips"]

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

[[test]]
name = "cellos_host_cellos_happy_path"
path = "tests/cellos_host_cellos_happy_path.rs"

[[test]]
name = "contract"
path = "tests/contract.rs"

[[test]]
name = "fd_isolation"
path = "tests/fd_isolation.rs"

[[test]]
name = "smoke"
path = "tests/smoke.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.cellos-core]
version = "0.8.0-pre"
default-features = false

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.zeroize]
version = "1.8"
features = [
    "std",
    "alloc",
]

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

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[lints.clippy]
doc_lazy_continuation = "allow"
doc_overindented_list_items = "allow"
