Skip to content

Commit bbd6481

Browse files
committed
deduplicate dependency
Signed-off-by: Christian Poveda <[email protected]>
1 parent af4f22b commit bbd6481

File tree

5 files changed

+3
-277
lines changed

5 files changed

+3
-277
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
pub(crate) mod attached_text;
2+
pub(crate) mod dependency;

cyclonedx-bom/src/specs/v1_3/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ pub(crate) mod bom;
2020
pub(crate) mod code;
2121
pub(crate) mod component;
2222
pub(crate) mod composition;
23-
pub(crate) mod dependency;
2423
pub(crate) mod external_reference;
2524
pub(crate) mod hash;
2625
pub(crate) mod license;
@@ -30,4 +29,4 @@ pub(crate) mod property;
3029
pub(crate) mod service;
3130
pub(crate) mod tool;
3231

33-
pub(crate) use super::common::attached_text;
32+
pub(crate) use super::common::{attached_text, dependency};

cyclonedx-bom/src/specs/v1_4/dependency.rs

Lines changed: 0 additions & 273 deletions
This file was deleted.

cyclonedx-bom/src/specs/v1_4/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ pub(crate) mod bom;
2121
pub(crate) mod code;
2222
pub(crate) mod component;
2323
pub(crate) mod composition;
24-
pub(crate) mod dependency;
2524
pub(crate) mod external_reference;
2625
pub(crate) mod hash;
2726
pub(crate) mod license;
@@ -39,4 +38,4 @@ pub(crate) mod vulnerability_reference;
3938
pub(crate) mod vulnerability_source;
4039
pub(crate) mod vulnerability_target;
4140

42-
pub(crate) use super::common::attached_text;
41+
pub(crate) use super::common::{attached_text, dependency};

0 commit comments

Comments
 (0)