[package]
edition = "2021"
rust-version = "1.76"
name = "endpoint-sec"
version = "0.5.0"
authors = ["HarfangLab Rust Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level Rust wrappers around the Endpoint Security Framework"
documentation = "https://docs.rs/endpoint-sec"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/HarfangLab/endpoint-sec"
[package.metadata.docs.rs]
features = [
"max",
"audit_token_from_pid",
"static_assertions",
]
rustdoc-args = [
"--cfg",
"docsrs",
"--generate-link-to-definition",
]
targets = [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
]
[features]
audit_token_from_pid = []
default = ["static_assertions"]
macos_10_15_1 = ["endpoint-sec-sys/macos_10_15_1"]
macos_10_15_4 = [
"macos_10_15_1",
"endpoint-sec-sys/macos_10_15_4",
]
macos_11_0_0 = [
"macos_10_15_4",
"endpoint-sec-sys/macos_11_0_0",
]
macos_11_3_0 = [
"macos_11_0_0",
"endpoint-sec-sys/macos_11_3_0",
]
macos_12_0_0 = [
"macos_11_3_0",
"endpoint-sec-sys/macos_12_0_0",
]
macos_13_0_0 = [
"macos_12_0_0",
"endpoint-sec-sys/macos_13_0_0",
]
macos_13_3_0 = [
"macos_13_0_0",
"endpoint-sec-sys/macos_13_3_0",
]
macos_14_0_0 = [
"macos_13_3_0",
"endpoint-sec-sys/macos_14_0_0",
]
max = ["macos_14_0_0"]
static_assertions = ["dep:static_assertions"]
[lib]
name = "endpoint_sec"
path = "src/lib.rs"
[[test]]
name = "client"
path = "tests/client.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
[target.'cfg(target_os = "macos")'.dependencies.endpoint-sec-sys]
version = "0.5.0"
features = ["objc2"]
[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2"
features = ["extra_traits"]
[target.'cfg(target_os = "macos")'.dependencies.mach2]
version = "0.5"
[target.'cfg(target_os = "macos")'.dependencies.static_assertions]
version = "1.1"
optional = true
[target.'cfg(target_os = "macos")'.dev-dependencies.sysinfo]
version = "0.28"
[target.'cfg(target_os = "macos")'.dev-dependencies.trybuild]
version = "1.0"