[package]
edition = "2024"
name = "scuffle"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-level bindings to libscf on illumos"
readme = "README.md"
keywords = [
"smf",
"illumos",
"scf",
"libscf",
]
categories = ["api-bindings"]
license = "MPL-2.0"
repository = "https://github.com/oxidecomputer/scuffle"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-illumos"
targets = ["x86_64-unknown-illumos"]
[features]
daft = ["dep:daft"]
smf-by-instance = ["dep:bitflags"]
testing = [
"dep:camino",
"dep:camino-tempfile",
"dep:proptest",
"dep:test-strategy",
]
[lib]
name = "scuffle"
path = "src/lib.rs"
[[example]]
name = "get-property-values"
path = "examples/get-property-values.rs"
[[example]]
name = "run-isolated-configd"
path = "examples/run-isolated-configd.rs"
required-features = ["testing"]
[[example]]
name = "scuffle-adm"
path = "examples/scuffle-adm.rs"
required-features = ["smf-by-instance"]
[[example]]
name = "set-property-values"
path = "examples/set-property-values.rs"
[[test]]
name = "property-group-type"
path = "tests/property-group-type.rs"
required-features = ["testing"]
[[test]]
name = "scf"
path = "tests/scf.rs"
required-features = ["testing"]
[[test]]
name = "snapshot-and-iter"
path = "tests/snapshot-and-iter.rs"
required-features = ["testing"]
[[test]]
name = "transaction"
path = "tests/transaction.rs"
required-features = ["testing"]
[dependencies.bitflags]
version = "2.11"
optional = true
[dependencies.camino]
version = "1.2.2"
optional = true
[dependencies.camino-tempfile]
version = "1.4.1"
optional = true
[dependencies.chrono]
version = "0.4"
[dependencies.daft]
version = "0.1.5"
features = ["derive"]
optional = true
[dependencies.libc]
version = "0.2"
[dependencies.libscf-sys]
version = "1.2.0"
[dependencies.num-traits]
version = "0.2"
[dependencies.oxnet]
version = "0.1.4"
[dependencies.proptest]
version = "1.11"
optional = true
[dependencies.test-strategy]
version = "0.4.5"
optional = true
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.anyhow]
version = "1.0"
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.camino]
version = "1.2.2"
[dev-dependencies.camino-tempfile]
version = "1.4.1"
[dev-dependencies.clap]
version = "4.6"
features = ["derive"]
[dev-dependencies.proptest]
version = "1.11"
[dev-dependencies.test-strategy]
version = "0.4.5"