Skip to content

Commit eddfc3a

Browse files
committed
refactor(common): mark Compression enum as non_exhaustive
This allows adding new variants without breaking semver rules.
1 parent b0b7099 commit eddfc3a

File tree

8 files changed

+11
-10
lines changed

8 files changed

+11
-10
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ xattr = "1"
7171

7272
# internal dependencies
7373

74-
csaf-walker = { version = "0.12.4", path = "csaf", default-features = false }
75-
sbom-walker = { version = "0.12.4", path = "sbom", default-features = false }
76-
walker-common = { version = "0.12.4", path = "common" }
77-
walker-extras = { version = "0.12.4", path = "extras" }
74+
csaf-walker = { version = "0.13.0-rc.1", path = "csaf", default-features = false }
75+
sbom-walker = { version = "0.13.0-rc.1", path = "sbom", default-features = false }
76+
walker-common = { version = "0.13.0-rc.1", path = "common" }
77+
walker-extras = { version = "0.13.0-rc.1", path = "extras" }
7878

7979
[workspace.metadata.release]
8080
tag = false

common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "walker-common"
33
description = "Common functionality for SBOM and CSAF walker"
4-
version = "0.12.4"
4+
version = "0.13.0-rc.1"
55
authors = ["Jens Reimann <ctron@dentrassi.de>"]
66
repository = "https://github.com/ctron/csaf-walker"
77
categories = ["data-structures"]

common/src/compression/detecting.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ pub enum Error<'a> {
1010
}
1111

1212
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
13+
#[non_exhaustive]
1314
pub enum Compression {
1415
None,
1516
#[cfg(any(feature = "bzip2", feature = "bzip2-rs"))]

csaf/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "csaf-walker"
33
description = "A library to work with CSAF data"
4-
version = "0.12.4"
4+
version = "0.13.0-rc.1"
55
authors = ["Jens Reimann <ctron@dentrassi.de>"]
66
repository = "https://github.com/ctron/csaf-walker"
77
categories = ["data-structures"]

csaf/csaf-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "csaf-cli"
33
description = "A CLI to work with CSAF data"
4-
version = "0.12.4"
4+
version = "0.13.0-rc.1"
55
authors = ["Jens Reimann <ctron@dentrassi.de>"]
66
repository = "https://github.com/ctron/csaf-walker"
77
categories = ["command-line-utilities", "data-structures"]

extras/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "walker-extras"
33
description = "Additional functionality for SBOM and CSAF walker"
4-
version = "0.12.4"
4+
version = "0.13.0-rc.1"
55
authors = ["Jens Reimann <ctron@dentrassi.de>"]
66
repository = "https://github.com/ctron/csaf-walker"
77
categories = ["data-structures"]

sbom/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "sbom-walker"
33
description = "A library to work with SBOM data"
4-
version = "0.12.4"
4+
version = "0.13.0-rc.1"
55
authors = ["Jens Reimann <ctron@dentrassi.de>"]
66
repository = "https://github.com/ctron/csaf-walker"
77
categories = ["data-structures"]

sbom/sbom-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "sbom-cli"
33
description = "A CLI to work with SBOM data"
4-
version = "0.12.4"
4+
version = "0.13.0-rc.1"
55
authors = ["Jens Reimann <ctron@dentrassi.de>"]
66
repository = "https://github.com/ctron/csaf-walker"
77
categories = ["command-line-utilities", "data-structures"]

0 commit comments

Comments
 (0)