cargo-code-sign-0.1.0 is not a library.
cargo-code-sign
A Cargo subcommand that automatically signs binaries after building.
Usage
Or, wrap Cargo:
CARGO=cargo-code-sign
Signing identities
See the native-code-sign configuration for macOS and Windows.
No signing is performed on Linux — using cargo code-sign is a no-op.
Configuration
CARGO_CODE_SIGN_TEST_BINARIES: Set to1to also sign test binaries (default: disabled)CARGO_CODE_SIGN_CARGO: Path to the innercargocommand (see Nested cargo wrappers; default:CARGOenv var, thencargo)
Cross-compiles
Code signing is not supported during cross-compiles, as we require native tools to perform code signing.
Target files
Executable and library artifacts are signed by default. This does not include internal artifacts like proc macros or build scripts.
Test binaries are not signed by default, but can be enabled with CARGO_CODE_SIGN_TEST_BINARIES=1.
Nested cargo wrappers
When nesting multiple cargo wrappers, the CARGO_CODE_SIGN_CARGO variable can be used to configure
the inner cargo command invoked by cargo-code-sign as cargo will update the CARGO variable.