Skip to content

Commit

Permalink
Reorder arrays in Cargo.toml files (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored Feb 5, 2023
1 parent d39268d commit c7ad3ba
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[formatting]
reorder_arrays = true
4 changes: 2 additions & 2 deletions butane/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ json = ["butane_core/json"]
sqlite = ["butane_core/sqlite"]
sqlite-bundled = ["butane_core/sqlite-bundled"]
pg = ["butane_core/pg"]
datetime = ["butane_core/datetime", "butane_codegen/datetime"]
datetime = ["butane_codegen/datetime", "butane_core/datetime"]
debug = ["butane_core/debug"]
log = ["butane_core/log"]
r2d2 = ["butane_core/r2d2"]
tls = ["butane_core/tls"]
uuid = ["butane_core/uuid", "butane_codegen/uuid"]
uuid = ["butane_codegen/uuid", "butane_core/uuid"]

[dependencies]
butane_codegen = { path = "../butane_codegen", version = "0.5" }
Expand Down
2 changes: 1 addition & 1 deletion butane_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ sqlite-bundled = ["butane/sqlite-bundled"]
anyhow = "1.0"
butane = { path = "../butane", version = "0.5", features = [
"default",
"sqlite",
"pg",
"sqlite",
] }
chrono = "0.4"
clap = "2.34"
Expand Down
2 changes: 1 addition & 1 deletion butane_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ datetime = []
proc-macro2 = "1.0"
butane_core = { path = "../butane_core", version = "0.5" }
quote = "1.0"
syn = { version = "1.0", features = ["full", "extra-traits"] }
syn = { version = "1.0", features = ["extra-traits", "full"] }
uuid = { workspace = true, optional = true }

[lib]
Expand Down
6 changes: 3 additions & 3 deletions butane_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ debug = ["log"]
json = ["postgres?/with-serde_json-1", "rusqlite?/serde_json"]
sqlite = ["rusqlite"]
sqlite-bundled = ["rusqlite/bundled"]
tls = ["postgres-native-tls", "native-tls"]
pg = ["postgres", "bytes"]
tls = ["native-tls", "postgres-native-tls"]
pg = ["bytes", "postgres"]


[dependencies]
Expand All @@ -39,7 +39,7 @@ r2d2 = { version = "0.8", optional = true }
rusqlite = { workspace = true, optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
syn = { version = "1.0", features = ["full", "extra-traits"] }
syn = { version = "1.0", features = ["extra-traits", "full"] }
thiserror = "1.0"
chrono = { version = "0.4", features = ["serde"], optional = true }
uuid = { workspace = true, optional = true }

0 comments on commit c7ad3ba

Please sign in to comment.