Skip to content

Commit

Permalink
chore: Remove unused Error struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Techassi committed Nov 29, 2024
1 parent c27ec67 commit a7ac927
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion Cargo.lock

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

2 changes: 0 additions & 2 deletions crates/stackable-versioned/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ all-features = true
full = ["k8s"]
k8s = [
"stackable-versioned-macros/k8s", # Forward the k8s feature to the underlying macro crate
"dep:snafu",
"dep:kube",
]

[dependencies]
stackable-versioned-macros = { path = "../stackable-versioned-macros" }

kube = { workspace = true, optional = true }
snafu = { workspace = true, optional = true }
12 changes: 0 additions & 12 deletions crates/stackable-versioned/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,6 @@
// Re-export macro
pub use stackable_versioned_macros::*;

#[cfg(feature = "k8s")]
#[derive(Debug, snafu::Snafu)]
pub enum Error {
#[snafu(display("failed to merge CRDs"))]
MergeCrd { source: kube::core::crd::MergeError },

#[snafu(display("failed to serialize YAML"))]
SerializeYaml {
source: stackable_shared::yaml::Error,
},
}

// Unused for now, might get picked up again in the future.
#[doc(hidden)]
pub trait AsVersionStr {
Expand Down

0 comments on commit a7ac927

Please sign in to comment.