Skip to content

Commit

Permalink
perf: Build less when TOML is needed
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Dec 20, 2024
1 parent e3ab957 commit 891cd97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,13 @@ json5 = ["json5_rs", "serde/derive"]
convert-case = ["convert_case"]
preserve_order = ["indexmap", "toml?/preserve_order", "serde_json?/preserve_order", "ron?/indexmap"]
async = ["async-trait"]
toml = ["dep:toml"]

[dependencies]
serde = "1.0"

async-trait = { version = "0.1", optional = true }
toml = { version = "0.8", optional = true }
toml = { version = "0.8", optional = true, default-features = false, features = ["parse"] }
serde_json = { version = "1.0", optional = true }
yaml-rust2 = { version = "0.9", optional = true }
rust-ini = { version = "0.21", optional = true }
Expand Down

0 comments on commit 891cd97

Please sign in to comment.