[package]
edition = "2024"
name = "cargo-code-sign"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sign Rust binaries after cargo build (macOS codesign, Windows signtool)"
readme = "README.md"
keywords = [
"security",
"codesign",
"signtool",
"signing",
]
categories = ["development-tools::cargo-plugins"]
license = "MIT OR Apache-2.0"
[[bin]]
name = "cargo-code-sign"
path = "src/main.rs"
[[test]]
name = "it"
path = "tests/it.rs"
[dependencies.cargo_metadata]
version = "0.23"
[dependencies.native-code-sign]
version = "0.1.0"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
[dev-dependencies.fs-err]
version = "3"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
collapsible_else_if = "allow"
collapsible_if = "allow"
dbg_macro = "warn"
disallowed_methods = "warn"
disallowed_types = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
get_unwrap = "warn"
module_name_repetitions = "allow"
must_use_candidate = "allow"
rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"
similar_names = "allow"
use_self = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -2
[lints.rust]
unreachable_pub = "warn"
unsafe_code = "forbid"