Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

ci: turn on some taplo rules to format Cargo.toml #262

Merged
merged 3 commits into from
Jan 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ description = "A serverless storage engine that empowers engineers to build reli
members = ["src/engine/luna", "src/journal", "src/storage", "src/futures"]

[dependencies]
luna-engine = { version = "0.3.0", path = "src/engine/luna" }
engula-futures = { version = "0.3.0", path = "src/futures" }
engula-journal = { version = "0.3.0", path = "src/journal" }
engula-storage = { version = "0.3.0", path = "src/storage" }
engula-futures = { version = "0.3.0", path = "src/futures" }
luna-engine = { version = "0.3.0", path = "src/engine/luna" }

tokio = { version = "1", features = ["full"] }
6 changes: 3 additions & 3 deletions src/engine/hash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ repository = "https://github.com/engula/engula"
description = "An Engula engine that provides simple key-value storage."

[dependencies]
engula-kernel = { version = "0.3.0", path = "../../kernel" }
engula-journal = { version = "0.3.0", path = "../../journal" }
engula-kernel = { version = "0.3.0", path = "../../kernel" }
engula-storage = { version = "0.3.0", path = "../../storage" }

thiserror = "1.0"
tokio = { version = "1.14", features = ["full"] }
bytes = "1.1"
futures = "0.3"
thiserror = "1.0"
tokio = { version = "1.14", features = ["full"] }
4 changes: 2 additions & 2 deletions src/journal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ description = "An Engula module that provides stream storage abstractions and im
[dependencies]
engula-futures = { version = "0.3.0", path = "../futures" }

thiserror = "1.0"
async-trait = "0.1"
tokio = { version = "1.13", features = ["full"] }
prost = "0.9"
thiserror = "1.0"
tokio = { version = "1.13", features = ["full"] }

[dev-dependencies]
tempfile = "3"
Expand Down
6 changes: 3 additions & 3 deletions src/kernel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ repository = "https://github.com/engula/engula"
description = "An Engula module that provides stateful environment abstractions and implementations."

[dependencies]
engula-futures = { version = "0.3.0", path = "../futures" }
engula-journal = { version = "0.3.0", path = "../journal" }
engula-storage = { version = "0.3.0", path = "../storage" }
engula-futures = { version = "0.3.0", path = "../futures" }

thiserror = "1.0"
async-trait = "0.1"
futures = "0.3"
prost = "0.9"
thiserror = "1.0"
tokio = { version = "1.14", features = ["full"] }
tokio-stream = { version = "0.1", features = ["sync"] }
tonic = "0.6"
prost = "0.9"

[dev-dependencies]
tempfile = "3"
Expand Down
6 changes: 3 additions & 3 deletions src/storage/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ description = "An Engula module that provides object storage abstractions and im
[dependencies]
engula-futures = { version = "0.3.0", path = "../futures" }

thiserror = "1.0"
async-trait = "0.1"
bytes = "1.1.0"
tokio = { version = "1.13", features = ["full"] }
prost = "0.9"
futures = "0.3"
prost = "0.9"
thiserror = "1.0"
tokio = { version = "1.13", features = ["full"] }

[dev-dependencies]
tempfile = "3"
Expand Down
11 changes: 11 additions & 0 deletions taplo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
include = ["**/Cargo.toml"]

[formatting]
reorder_keys = true

# Do not sort key names within [package] section.
[[rule]]
keys = ["package"]

[rule.formatting]
reorder_keys = false
1 change: 1 addition & 0 deletions tools/ci/licenserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ header:
- 'rust-toolchain.toml'
- 'rustfmt.toml'
- '.cargo/audit.toml'
- 'taplo.toml'