Skip to content

Commit

Permalink
Bump chrono, fix deprecation warnings and a clippy issue (#1081)
Browse files Browse the repository at this point in the history
minor changes

Signed-off-by: surya <suryamailsyou@gmail.com>

Signed-off-by: surya <suryamailsyou@gmail.com>
  • Loading branch information
suryapandian committed Nov 15, 2022
1 parent d574fbc commit 34af570
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion examples/pod_shell_crossterm.rs
@@ -1,7 +1,6 @@
use futures::{channel::mpsc::Sender, SinkExt, StreamExt};
use k8s_openapi::api::core::v1::Pod;

#[cfg(unix)] use crossterm::event::Event;
use kube::{
api::{Api, AttachParams, AttachedProcess, DeleteParams, PostParams, ResourceExt, TerminalSize},
runtime::wait::{await_condition, conditions::is_pod_running},
Expand Down
2 changes: 1 addition & 1 deletion kube-client/Cargo.toml
Expand Up @@ -37,7 +37,7 @@ rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
base64 = { version = "0.13.0", optional = true }
chrono = { version = "0.4.19", optional = true, default-features = false }
chrono = { version = "0.4.23", optional = true, default-features = false }
dirs = { package = "dirs-next", optional = true, version = "2.0.0" }
serde = { version = "1.0.130", features = ["derive"] }
serde_json = "1.0.68"
Expand Down
2 changes: 1 addition & 1 deletion kube-derive/tests/crd_schema_test.rs
Expand Up @@ -132,7 +132,7 @@ fn test_serialized_matches_expected() {
nullable: None,
nullable_skipped_with_default: None,
nullable_with_default: None,
timestamp: DateTime::from_utc(NaiveDateTime::from_timestamp(0, 0), Utc),
timestamp: DateTime::from_utc(NaiveDateTime::from_timestamp_opt(0, 0).unwrap(), Utc),
complex_enum: ComplexEnum::VariantOne { int: 23 },
untagged_enum_person: UntaggedEnumPerson::GenderAndAge(GenderAndAge {
age: 42,
Expand Down

0 comments on commit 34af570

Please sign in to comment.