Skip to content

Commit d17738d

Browse files
Enable psign optional features by default
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9a6aa55 commit d17738d

4 files changed

Lines changed: 7 additions & 10 deletions

File tree

‎.github/workflows/dotnet-tool.yml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ jobs:
9393
$target
9494
)
9595
96-
if ($target.Contains('windows-msvc')) {
97-
$cargoArgs += @('--features', 'azure-kv-sign')
98-
}
99-
10096
cargo @cargoArgs
10197
10298
- name: Verify Windows version info

‎.github/workflows/release.yml‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,6 @@ jobs:
230230
$target
231231
)
232232
233-
if ($target.Contains('windows-msvc')) {
234-
$cargoArgs += @('--features', 'azure-kv-sign')
235-
}
236-
237233
cargo @cargoArgs
238234
239235
- name: Verify Windows version info

‎Cargo.toml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ readme = "README.md"
3434
repository.workspace = true
3535

3636
[features]
37-
default = []
37+
default = [
38+
"azure-kv-sign",
39+
"artifact-signing-rest",
40+
"timestamp-http",
41+
"timestamp-server",
42+
]
3843
## Azure Key Vault signing (`AuthenticatorDigestSign` callback + REST); enables Azure-shaped CLI flags on `sign`.
3944
azure-kv-sign = [
4045
"dep:psign-azure-kv-rest",

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Canonical repository: <https://github.com/Devolutions/psign>.
2828
cargo build
2929
```
3030

31-
At the repo root, **`cargo build`** targets **`default-members`**, including the unified **`psign-tool`** executable from `src\main.rs` plus the portable digest / trust / package / REST crates. On Windows, **`cargo build -p psign --bin psign-tool`** remains the explicit way to build only that executable. Optional Cargo features: **`azure-kv-sign`** (Key Vault digest callback), **`artifact-signing-rest`** (**`artifact-signing-submit`** LRO against **`*.codesigning.azure.net`**), **`timestamp-http`** (portable RFC3161 HTTP POST), and **`timestamp-server`** (local RFC3161 test server).
31+
At the repo root, **`cargo build`** targets **`default-members`**, including the unified **`psign-tool`** executable from `src\main.rs` plus the portable digest / trust / package / REST crates. On Windows, **`cargo build -p psign --bin psign-tool`** remains the explicit way to build only that executable. Default Cargo features include **`azure-kv-sign`** (Key Vault digest callback), **`artifact-signing-rest`** (**`artifact-signing-submit`** LRO against **`*.codesigning.azure.net`**), **`timestamp-http`** (portable RFC3161 HTTP POST), and **`timestamp-server`** (local RFC3161 test server); use **`--no-default-features`** for a minimal build.
3232

3333
## Dotnet tool package from NuGet.org (.NET 10+)
3434

0 commit comments

Comments
 (0)