Skip to content

Commit f8105ef

Browse files
committed
Add time feature to stackable-operator as well
1 parent 36c63b3 commit f8105ef

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

crates/stackable-operator/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ edition.workspace = true
88
repository.workspace = true
99

1010
[features]
11-
full = ["certs", "telemetry", "versioned", "webhook"]
11+
full = ["certs", "telemetry", "versioned", "time", "webhook"]
1212
default = ["telemetry", "versioned"]
1313

1414
certs = ["dep:stackable-certs"]
1515
telemetry = ["dep:stackable-telemetry"]
16+
time = ["stackable-shared/time"]
1617
versioned = ["dep:stackable-versioned"]
1718
webhook = ["dep:stackable-webhook"]
1819

crates/stackable-shared/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
44
pub mod crd;
55
pub mod secret;
6-
#[cfg(feature = "time")]
6+
77
pub mod time;
88
pub mod yaml;
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
mod duration;
22
mod serde_impl;
33

4+
#[cfg(feature = "time")]
45
mod time_impl;
56

67
pub use duration::*;

0 commit comments

Comments
 (0)