blob: 33b801741866f44363a5c0d3e902d4013788706e [file] [log] [blame]
[package]
name = "sirenia"
version = "0.24.52"
description = "a TEE runtime environment."
authors = ["The Chromium OS Authors"]
edition = "2018"
# This is here to absorb the workspace entries in the ebuild, since cros-rust
# doesn't patch the Cargo.toml files in the sub directories yet.
[workspace.metadata]
[workspace] # ignored by ebuild
# Enables the use of cargo test --workspace to check everything at once.
members = [
"libsirenia",
"manatee-client",
"manatee-runtime",
]
[features]
default = ["guest", "hypervisor"]
guest = []
hypervisor = []
sdk = []
[[bin]]
name = "dugong"
path = "src/dugong.rs"
required-features = ["guest"]
[[bin]]
name = "trichechus"
path = "src/trichechus.rs"
required-features = ["hypervisor"]
[[bin]]
name = "tee_app_info_lint"
path = "src/tee_app_info_lint.rs"
required-features = ["sdk"]
[profile.release]
panic = "abort"
overflow-checks = true
[build-dependencies]
chromeos-dbus-bindings = { path = "../chromeos-dbus-bindings"} # provided by ebuild
[dev-dependencies]
assert_matches = "1.5.0"
[dependencies]
anyhow = "1.0.0"
dbus = "0.9"
dbus-crossroads = "0.5.0"
flexbuffers = "2.0.0"
getopts = "0.2"
libc = "0.2.97"
libchromeos = { path = "../libchromeos-rs" } # provided by ebuild
libsirenia = { path = "libsirenia" } # provided by ebuild
log = "0.4.0"
serde = { version = "1.0.114", features = ["derive"] }
serde_json = "1.0.64"
stderrlog = "0.5.0"
sys_util = { path = "../../platform/crosvm/common/sys_util" } # provided by ebuild
thiserror = "1.0.20"