Skip to content

Commit b004805

Browse files
committed
chore: Remove unused dependencies
1 parent 0e544dc commit b004805

File tree

4 files changed

+2
-17
lines changed

4 files changed

+2
-17
lines changed

Cargo.lock

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/stackable-operator/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ dockerfile-parser.workspace = true
2828
either.workspace = true
2929
educe.workspace = true
3030
futures.workspace = true
31-
indoc.workspace = true
3231
indexmap.workspace = true
3332
json-patch.workspace = true
3433
k8s-openapi.workspace = true

crates/stackable-versioned/Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ full = ["k8s"]
1515
k8s = [
1616
"stackable-versioned-macros/k8s", # Forward the k8s feature to the underlying macro crate
1717
"dep:k8s-version",
18-
"dep:kube",
1918
"dep:schemars",
2019
"dep:serde_json",
2120
"dep:serde_yaml",
@@ -27,14 +26,8 @@ k8s = [
2726
k8s-version = { path = "../k8s-version", features = ["serde"], optional = true }
2827
stackable-versioned-macros = { path = "../stackable-versioned-macros" }
2928

30-
kube = { workspace = true, optional = true }
3129
schemars = { workspace = true, optional = true }
3230
serde = { workspace = true, optional = true }
3331
serde_json = { workspace = true, optional = true }
3432
serde_yaml = { workspace = true, optional = true }
3533
snafu = { workspace = true, optional = true }
36-
k8s-openapi = { workspace = true, optional = true }
37-
tracing = { workspace = true, optional = true }
38-
39-
[dev-dependencies]
40-
insta.workspace = true

crates/stackable-versioned/src/k8s.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
use std::collections::HashMap;
22

33
use k8s_version::Version;
4-
#[cfg(doc)]
5-
use kube::core::conversion::ConversionReview;
64
use schemars::schema::{InstanceType, Schema, SchemaObject, SingleOrVec};
75
use snafu::{ErrorCompat, Snafu};
86

@@ -46,7 +44,7 @@ fn raw_object_schema(_: &mut schemars::r#gen::SchemaGenerator) -> Schema {
4644
})
4745
}
4846

49-
/// This error indicates that parsing an object from a [`ConversionReview`] failed.
47+
/// This error indicates that parsing an object from a conversion review failed.
5048
#[derive(Debug, Snafu)]
5149
pub enum ParseObjectError {
5250
#[snafu(display(r#"failed to find "apiVersion" field"#))]
@@ -62,7 +60,7 @@ pub enum ParseObjectError {
6260
Deserialize { source: serde_json::Error },
6361
}
6462

65-
/// This error indicates that converting an object from a [`ConversionReview`] to the desired
63+
/// This error indicates that converting an object from a conversion review to the desired
6664
/// version failed.
6765
#[derive(Debug, Snafu)]
6866
pub enum ConvertObjectError {

0 commit comments

Comments
 (0)