Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions npmenc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ npmenc-core = { path = "../npmenc-core" }

[dev-dependencies]
tempfile = { workspace = true }
# Integration tests spawn the npmenc binary via assert_cmd. On macOS
# CI (GitHub Actions `macos-latest`), SecItemAdd against the runner's
# login keychain from an unsigned binary blocks on an ACL prompt that
# never gets answered. Turning on enclaveapp-app-storage's `mock`
# feature here makes cargo feature unification compile the mock path
# during `cargo test`, so ENCLAVEAPP_MOCK_STORAGE=1 (set by the CI
# workflow) routes through it. Release builds (no dev-deps) never
# include the mock — see libenclaveapp enclaveapp-app-storage.
enclaveapp-app-storage = { workspace = true, features = ["mock"] }

[lints]
workspace = true
3 changes: 3 additions & 0 deletions npxenc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ npmenc-core = { path = "../npmenc-core" }

[dev-dependencies]
tempfile = { workspace = true }
# See npmenc/Cargo.toml for rationale. Same mock opt-in for the
# npxenc integration tests.
enclaveapp-app-storage = { workspace = true, features = ["mock"] }

[lints]
workspace = true