Skip to content

Commit

Permalink
Remove unused features of dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb committed Feb 8, 2023
1 parent e920672 commit 352b077
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 84 deletions.
73 changes: 4 additions & 69 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion butane/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ butane_core = { path = "../butane_core", version = "0.5" }
cfg-if = "1.0"
exec_time = { version = "0.1.4" }
paste = "1.0.11"
chrono = { version = "0.4", features = ["serde"] }
chrono = { version = "0.4", default-features = false, features = [
"serde",
"std",
] }
env_logger = "0.10"
geo-types = "0.7"
libc = "0.2"
Expand Down
8 changes: 4 additions & 4 deletions butane_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ butane = { path = "../butane", version = "0.5", features = [
"pg",
"sqlite",
] }
chrono = "0.4"
clap = "2.34"
quote = "1.0"
serde = "1.0"
chrono = { version = "0.4", default-features = false }
clap = { version = "2.34", default-features = false }
quote = { version = "1.0", default-features = false }
serde = { version = "1.0", default-features = false }
serde_json = "1.0"
6 changes: 3 additions & 3 deletions butane_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ repository = "https://github.com/Electron100/butane"
datetime = []

[dependencies]
proc-macro2 = "1.0"
proc-macro2 = { version = "1.0", default-features = false }
butane_core = { path = "../butane_core", version = "0.5" }
quote = "1.0"
syn = { version = "1.0", features = ["extra-traits", "full"] }
quote = { version = "1.0", default-features = false }
syn = { version = "1.0", default-features = false }
uuid = { workspace = true, optional = true }

[lib]
Expand Down
20 changes: 13 additions & 7 deletions butane_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,28 @@ bytes = { version = "1.0", optional = true }
cfg-if = "1.0"
fallible-iterator = "0.2"
fallible-streaming-iterator = "0.1"
fs2 = "0.4" # for file locks
fs2 = "0.4" # for file locks
hex = "0.4"
once_cell = "1.5"
log = { version = "0.4", optional = true }
native-tls = { version = "0.2", optional = true }
postgres = { version = "0.19", optional = true }
postgres-native-tls = { version = "0.5", optional = true }
proc-macro2 = "1.0"
proc-macro2 = { version = "1.0", default-features = false }
pin-project = "1"
quote = "1.0"
regex = "1.5"
quote = { version = "1.0", default-features = false }
regex = { version = "1.5", default-features = false, features = ["std"] }
r2d2 = { version = "0.8", optional = true }
rusqlite = { workspace = true, optional = true }
serde = { version = "1.0", features = ["derive"] }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde_json = "1.0"
syn = { version = "1.0", features = ["extra-traits", "full"] }
syn = { version = "1.0", default-features = false, features = [
"extra-traits",
"full",
] }
thiserror = "1.0"
chrono = { version = "0.4", features = ["serde"], optional = true }
chrono = { version = "0.4", default-features = false, features = [
"serde",
"std",
], optional = true }
uuid = { workspace = true, optional = true }

0 comments on commit 352b077

Please sign in to comment.