Skip to content

Commit

Permalink
Rename sha2 feature to inventory-sha2
Browse files Browse the repository at this point in the history
  • Loading branch information
runesoerensen committed Oct 2, 2024
1 parent 2906e0b commit 453861c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libherokubuildpack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ all-features = true
workspace = true

[features]
default = ["command", "download", "digest", "error", "inventory", "log", "inventory-semver", "sha2", "tar", "toml", "fs", "write", "buildpack_output"]
default = ["command", "download", "digest", "error", "inventory", "log", "inventory-semver", "inventory-sha2", "tar", "toml", "fs", "write", "buildpack_output"]
download = ["dep:ureq", "dep:thiserror"]
digest = ["dep:sha2"]
error = ["log", "dep:libcnb"]
inventory = ["dep:hex", "dep:serde", "dep:thiserror", "dep:toml"]
log = ["dep:termcolor"]
inventory-semver = ["dep:semver"]
sha2 = ["dep:sha2"]
inventory-sha2 = ["dep:sha2"]
tar = ["dep:tar", "dep:flate2"]
toml = ["dep:toml"]
fs = ["dep:pathdiff"]
Expand Down
2 changes: 1 addition & 1 deletion libherokubuildpack/src/inventory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub mod version;

#[cfg(feature = "inventory-semver")]
mod semver;
#[cfg(feature = "sha2")]
#[cfg(feature = "inventory-sha2")]
mod sha2;
mod unit;

Expand Down

0 comments on commit 453861c

Please sign in to comment.