Skip to content

Commit

Permalink
Merge pull request #1900 from ipuustin/no-chrono-default-features
Browse files Browse the repository at this point in the history
deps: do not use chrono default-features.
  • Loading branch information
utam0k authored May 11, 2023
2 parents c0ba7e0 + 131beac commit d616ebf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/libcontainer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cgroupsv2_devices = ["libcgroups/cgroupsv2_devices"]
anyhow = "1.0"
bitflags = "2.2.1"
caps = "0.5.5"
chrono = { version = "0.4", features = ["serde"] }
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
crossbeam-channel = "0.5"
fastrand = "^1.7.0"
futures = { version = "0.3", features = ["thread-pool"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/youki/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ features = ["std", "suggestions", "derive", "cargo", "help", "usage", "error-con

[dependencies]
anyhow = "1.0.71"
chrono = { version = "0.4", features = ["serde"] }
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
libcgroups = { version = "0.0.5", path = "../libcgroups", default-features = false }
libcontainer = { version = "0.0.5", path = "../libcontainer", default-features = false }
liboci-cli = { version = "0.0.5", path = "../liboci-cli" }
Expand Down
2 changes: 1 addition & 1 deletion tests/rust-integration-tests/integration_test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"

[dependencies]
anyhow = "1.0"
chrono = { version="0.4" }
chrono = { version = "0.4", default-features = false, features = ["clock"] }
flate2 = "1.0"
libcgroups = { path = "../../../crates/libcgroups" }
libcontainer = { path = "../../../crates/libcontainer" }
Expand Down

0 comments on commit d616ebf

Please sign in to comment.