Skip to content

Commit

Permalink
refactor: strip unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Jul 19, 2024
1 parent b6df6a6 commit d5d8fb6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 72 deletions.
61 changes: 1 addition & 60 deletions Cargo.lock

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

6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,9 @@ tracing-subscriber = { version = "0.3.18", features = [
serde_derive = "1"
serde = "1.0.204"
tracing-error = "0.2"
glob = "0.3"
serde_yaml = "0.9"
dotenvy = "0.15"
tera = "1"
merge-struct = "0.1.0"
clap = { version = "4.5", features = ["derive", "env"] }
nix = { version = "0.29", features = ["mount", "hostname", "dir"] }
uuid = { version = "1.10.0", features = ["v4", "serde"] }
loopdev-fyra = { version = "0.5.0" }
bytesize = { version = "1.3.0", features = ["serde"] }
Expand All @@ -48,8 +44,6 @@ itertools = "0.13.0"
sys-mount = "3.0.1"
thiserror = "1.0.63"
ensan-proc-macro = "0.1.0"
passwd-rs = "0.2.0"
serde_json = "1.0.120"
dyn-clone = "1.0.17"

[lints.clippy]
Expand Down
6 changes: 0 additions & 6 deletions src/cfg/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,6 @@ impl Manifest {
pub fn load(path: &Path) -> color_eyre::Result<Self> {
Ok(hcl::de::from_body(ensan::parse(std::fs::read_to_string(path)?)?)?)
}

/// Evaluate expressions into a JSON object
#[must_use]
pub fn to_json(&self) -> serde_json::Value {
serde_json::to_value(self).unwrap()
}
}

/// Variable types used for validation in `[Var]`
Expand Down

0 comments on commit d5d8fb6

Please sign in to comment.