[control] Test hooks: IANITOR_TEST_CRASH_AT and IANITOR_TEST_FAIL_WRITE only with the default test-hooks feature; a --no-default-features build has neither
This commit is contained in:
@@ -15,6 +15,12 @@ path = "src/lib.rs"
|
||||
name = "ianitor-control"
|
||||
path = "src/main.rs"
|
||||
|
||||
[features]
|
||||
# The crash and write-failure hooks of the crash-safety tests (src/crash.rs). The Nix release
|
||||
# build turns them off with --no-default-features.
|
||||
default = ["test-hooks"]
|
||||
test-hooks = []
|
||||
|
||||
[dependencies]
|
||||
ianitor-core.workspace = true
|
||||
axum = { version = "0.8.9", default-features = false, features = ["http1", "json", "query", "tokio", "matched-path"] }
|
||||
|
||||
Reference in New Issue
Block a user