Skip to content

Commit 40f4b01

Browse files
committed
fix: cargo-auditable build error
Use `prodash` instead of `dep:prodash` in gix-features and `tracing` instead of `dep:tracing` in gitoxide-core. The `dep:mydep` syntax removes the implicit `mydep` feature for optional dependencies, this triggers a bug in cargo that affects `cargo-auditable`. See rust-lang/cargo#12336 This affects some Linux distributions like NixOS which use `cargo-auditable` by default. Related issues: - NixOS/nixpkgs#253911 - rust-secure-code/cargo-auditable#124
1 parent 4ce7f7c commit 40f4b01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gitoxide-core/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ estimate-hours = ["dep:itertools", "dep:fs-err", "dep:crossbeam-channel", "dep:s
2323
query = ["dep:rusqlite"]
2424
## Run algorithms on a corpus of repositories and store their results for later comparison and intelligence gathering.
2525
## *Note that* `organize` we need for finding git repositories fast.
26-
corpus = [ "dep:rusqlite", "dep:sysinfo", "organize", "dep:crossbeam-channel", "dep:serde_json", "dep:tracing-forest", "dep:tracing-subscriber", "dep:tracing", "dep:parking_lot" ]
26+
corpus = [ "dep:rusqlite", "dep:sysinfo", "organize", "dep:crossbeam-channel", "dep:serde_json", "dep:tracing-forest", "dep:tracing-subscriber", "tracing", "dep:parking_lot" ]
2727

2828
## The ability to create archives from virtual worktrees, similar to `git archive`.
2929
archive = ["dep:gix-archive-for-configuration-only", "gix/worktree-archive"]

gix-features/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ test = false
1717
default = []
1818
## Provide traits and utilities for providing progress information. These can then be rendered
1919
## using facilities of the `prodash` crate.
20-
progress = ["dep:prodash"]
20+
progress = ["prodash"]
2121
## Provide human-readable numbers as well as easier to read byte units for progress bars.
2222
progress-unit-human-numbers = ["prodash?/unit-human"]
2323
## Provide human readable byte units for progress bars.

0 commit comments

Comments
 (0)