Skip to content

Commit

Permalink
Shift edition to 2024 and upgrade schemars
Browse files Browse the repository at this point in the history
Schemars is the big thing we need for 2024 edition
due to it needing to rename the gen module.

See #1663

Hopefully they'll have a 1.0 release properly soon.

Signed-off-by: clux <sszynrae@gmail.com>
  • Loading branch information
clux committed Dec 12, 2024
1 parent 419442b commit c4c8b65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ authors = [
repository = "https://github.com/kube-rs/kube"
readme = "README.md"
license = "Apache-2.0"
edition = "2021"
rust-version = "1.77.2"
edition = "2024"
rust-version = "1.85.0"

[workspace.lints.rust]
unsafe_code = "forbid"
Expand Down Expand Up @@ -70,7 +70,7 @@ quote = "1.0.10"
rand = "0.8.3"
rustls = { version = "0.23.16", default-features = false }
rustls-pemfile = "2.0.0"
schemars = "0.8.6"
schemars = { version = "1.0.0-alpha.17" }
secrecy = "0.10.2"
serde = "1.0.130"
serde_json = "1.0.68"
Expand Down
2 changes: 1 addition & 1 deletion kube-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ serde = { workspace = true, features = ["derive"] }
serde_yaml.workspace = true
kube = { path = "../kube", version = "<1.0.0, >=0.61.0", features = ["derive", "client"] }
k8s-openapi = { workspace = true, features = ["latest"] }
schemars = { workspace = true, features = ["chrono"] }
schemars = { workspace = true, features = ["chrono04"] }
chrono.workspace = true
trybuild.workspace = true
assert-json-diff.workspace = true
Expand Down

0 comments on commit c4c8b65

Please sign in to comment.