[package]
edition = "2021"
name = "subc-os"
version = "0.1.15"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Operating-system primitives for the subc daemon that need unsafe code, behind a safe API: per-process identity, signalling, memory and CPU usage, and the launch-nonce descriptor handoff."
readme = false
license = "MIT"
repository = "https://github.com/cortexkit/subconscious"
[features]
test-support = []
tokio = ["dep:tokio"]
[lib]
name = "subc_os"
path = "src/lib.rs"
[[bin]]
name = "subc-os-privacy-fixture"
path = "tests/fixtures/privacy-trampoline.rs"
required-features = ["test-support"]
[[test]]
name = "disclaimed_command"
path = "tests/disclaimed_command.rs"
[dependencies.tokio]
version = "1"
features = ["process"]
optional = true
[dev-dependencies.cortexkit-test-support]
version = "0.1.3"
[target.'cfg(any(target_os = "linux", target_os = "macos"))'.dev-dependencies.rustix]
version = "1"
features = [
"std",
"time",
]
default-features = false
[target.'cfg(target_os = "linux")'.dependencies.rustix]
version = "1"
features = [
"event",
"param",
"process",
"std",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.rustix]
version = "1"
features = [
"process",
"std",
]
default-features = false
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Security_Authorization",
"Win32_Security_Cryptography",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_Pipes",
"Win32_System_ProcessStatus",
"Win32_System_Threading",
]
[lints.rust]
unsafe_code = "deny"