Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: taplo fmt #2336

Merged
merged 2 commits into from
Aug 23, 2024
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
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ members = [
"bin/scheduler",
"bin/sozo",
"bin/torii",
# "crates/benches",
"crates/dojo-utils",
# "crates/benches",
"crates/dojo-bindgen",
"crates/dojo-core",
"crates/dojo-lang",
"crates/dojo-test-utils",
"crates/dojo-types",
"crates/dojo-utils",
"crates/dojo-world",
"crates/dojo-world/abigen",
"crates/katana/controller",
Expand Down Expand Up @@ -172,7 +172,7 @@ pretty_assertions = "1.2.1"
rand = "0.8.5"
rayon = "1.8.0"
regex = "1.10.3"
reqwest = { version = "0.12", features = [ "blocking", "rustls-tls", "json" ], default-features = false }
reqwest = { version = "0.12", features = [ "blocking", "json", "rustls-tls" ], default-features = false }
rpassword = "7.2.0"
rstest = "0.18.2"
rstest_reuse = "0.6.0"
Expand Down
8 changes: 4 additions & 4 deletions bin/katana/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,26 @@ katana-slot-controller = { workspace = true, optional = true }

alloy-primitives.workspace = true
anyhow.workspace = true
byte-unit = "5.1.4"
clap.workspace = true
clap_complete.workspace = true
dojo-utils.workspace = true
comfy-table = "7.1.1"
console.workspace = true
dojo-utils.workspace = true
serde_json.workspace = true
shellexpand = "3.1.0"
tokio.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
url.workspace = true
comfy-table = "7.1.1"
byte-unit = "5.1.4"

[dev-dependencies]
assert_matches.workspace = true

[features]
default = [ "jemalloc", "messaging", "slot" ]

jemalloc = []
jemalloc = [ ]
messaging = [ "katana-node/messaging" ]
slot = [ "dep:katana-slot-controller", "katana-primitives/slot" ]
starknet-messaging = [ "katana-node/starknet-messaging" ]
2 changes: 1 addition & 1 deletion bin/saya/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ saya-core.workspace = true
serde_json.workspace = true
starknet.workspace = true
tokio.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
url.workspace = true

[dev-dependencies]
Expand Down
10 changes: 5 additions & 5 deletions bin/sozo/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ cairo-lang-defs.workspace = true
cairo-lang-filesystem.workspace = true
cairo-lang-plugins.workspace = true
cairo-lang-project.workspace = true
cairo-lang-sierra-to-casm.workspace = true
cairo-lang-sierra.workspace = true
cairo-lang-sierra-to-casm.workspace = true
cairo-lang-starknet.workspace = true
cairo-lang-test-plugin.workspace = true
cairo-lang-test-runner.workspace = true
cairo-lang-utils.workspace = true
camino.workspace = true
clap-verbosity-flag.workspace = true
clap.workspace = true
clap-verbosity-flag.workspace = true
clap_complete.workspace = true
console.workspace = true
derive_more.workspace = true
Expand All @@ -44,20 +44,20 @@ num-integer = "0.1.45"
prettytable-rs = "0.10.0"
regex.workspace = true
rpassword.workspace = true
scarb-ui.workspace = true
scarb.workspace = true
scarb-ui.workspace = true
semver.workspace = true
serde.workspace = true
serde_json.workspace = true
smol_str.workspace = true
sozo-ops.workspace = true
starknet-crypto.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
thiserror.workspace = true
tokio.workspace = true
tracing.workspace = true
tracing-log = "0.1.3"
tracing-subscriber.workspace = true
tracing.workspace = true
url.workspace = true

cainome.workspace = true
Expand Down
10 changes: 5 additions & 5 deletions bin/torii/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@ dojo-utils.workspace = true
dojo-world.workspace = true
either = "1.9.0"
futures.workspace = true
http-body = "0.4.5"
http.workspace = true
hyper-reverse-proxy = { git = "https://github.com/tarrencev/hyper-reverse-proxy" }
http-body = "0.4.5"
hyper.workspace = true
hyper-reverse-proxy = { git = "https://github.com/tarrencev/hyper-reverse-proxy" }
indexmap.workspace = true
lazy_static.workspace = true
scarb.workspace = true
serde.workspace = true
serde_json.workspace = true
sqlx.workspace = true
starknet-crypto.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
tokio.workspace = true
tokio-stream = "0.1.11"
tokio-util = "0.7.7"
tokio.workspace = true
torii-core.workspace = true
torii-graphql.workspace = true
torii-grpc = { workspace = true, features = [ "server" ] }
Expand All @@ -42,8 +42,8 @@ torii-server.workspace = true
tower.workspace = true

tower-http.workspace = true
tracing-subscriber.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
url.workspace = true
webbrowser = "0.8"

Expand Down
4 changes: 2 additions & 2 deletions crates/dojo-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ version.workspace = true

[package.metadata.release]
pre-release-replacements = [
{ file = "Scarb.lock", search = "^name = \"dojo\"\nversion = \".*\"$", replace = "name = \"dojo\"\nversion = \"{{version}}\"", min = 1 },
{ file = "Scarb.toml", search = "^version = \".*\"$", replace = "version = \"{{version}}\"", min = 1 },
{ file = "Scarb.lock", search = "^name = \"dojo\"\nversion = \".*\"$", replace = "name = \"dojo\"\nversion = \"{{version}}\"", min = 1 },
{ file = "Scarb.toml", search = "^version = \".*\"$", replace = "version = \"{{version}}\"", min = 1 },
]

[lib]
Expand Down
2 changes: 1 addition & 1 deletion crates/dojo-lang/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ cairo-lang-plugins.workspace = true
cairo-lang-project.workspace = true
cairo-lang-semantic.workspace = true
cairo-lang-sierra-generator.workspace = true
cairo-lang-starknet-classes.workspace = true
cairo-lang-starknet.workspace = true
cairo-lang-starknet-classes.workspace = true
cairo-lang-syntax.workspace = true
cairo-lang-test-plugin.workspace = true
cairo-lang-utils.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/dojo-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
cainome.workspace = true
crypto-bigint.workspace = true
hex.workspace = true
itertools.workspace = true
num-traits.workspace = true
serde.workspace = true
serde_json.workspace = true
starknet.workspace = true
strum.workspace = true
strum_macros.workspace = true
thiserror.workspace = true
serde_json.workspace = true
cainome.workspace = true
8 changes: 4 additions & 4 deletions crates/dojo-world/abigen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[package]
edition.workspace = true
name = "dojo-world-abigen"
version.workspace = true
edition.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
cairo-lang-starknet.workspace = true
cairo-lang-starknet-classes.workspace = true
camino.workspace = true
scarb-ui.workspace = true
scarb.workspace = true
scarb-ui.workspace = true
serde.workspace = true
serde_json.workspace = true
cairo-lang-starknet.workspace = true
cairo-lang-starknet-classes.workspace = true
2 changes: 1 addition & 1 deletion crates/katana/rpc/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ alloy-primitives = { workspace = true, features = [ "serde" ] }
assert_matches.workspace = true
cainome.workspace = true
dojo-test-utils.workspace = true
dojo-world.workspace = true
dojo-utils.workspace = true
dojo-world.workspace = true
jsonrpsee = { workspace = true, features = [ "client" ] }
katana-cairo.workspace = true
katana-node = { workspace = true, features = [ "messaging" ] }
Expand Down
4 changes: 2 additions & 2 deletions crates/katana/runner/runner-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
edition = "2021"
name = "runner-macro"
version = "1.0.0-alpha.7"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
proc-macro = true

[dependencies]
quote = "1.0.35"
syn = { version = "2.0.48", features = ["full", "fold"] }
syn = { version = "2.0.48", features = [ "fold", "full" ] }
4 changes: 2 additions & 2 deletions crates/saya/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ cairo-proof-parser.workspace = true
dojo-utils.workspace = true
futures.workspace = true
itertools.workspace = true
once_cell.workspace = true
serde.workspace = true
serde_json.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
starknet-types-core = { version = "0.1.4", default-features = false, features = [ "curve", "num-traits", "serde" ] }
starknet.workspace = true
thiserror.workspace = true
tokio.workspace = true
tracing.workspace = true
url.workspace = true
once_cell.workspace = true
# TODO: use features for each possible DA.
celestia-rpc = "0.2.0"
celestia-types = "0.2.0"
Expand Down
8 changes: 4 additions & 4 deletions crates/sozo/ops/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ cairo-lang-defs.workspace = true
cairo-lang-filesystem.workspace = true
cairo-lang-plugins.workspace = true
cairo-lang-project.workspace = true
cairo-lang-sierra-to-casm.workspace = true
cairo-lang-sierra.workspace = true
cairo-lang-starknet-classes.workspace = true
cairo-lang-sierra-to-casm.workspace = true
cairo-lang-starknet.workspace = true
cairo-lang-starknet-classes.workspace = true
cairo-lang-test-plugin.workspace = true
cairo-lang-utils.workspace = true
camino.workspace = true
Expand All @@ -36,15 +36,15 @@ num-bigint = "0.4.6"
num-traits.workspace = true
reqwest.workspace = true
rpassword.workspace = true
scarb-ui.workspace = true
scarb.workspace = true
scarb-ui.workspace = true
semver.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_with.workspace = true
smol_str.workspace = true
starknet-crypto.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
thiserror.workspace = true
tokio.workspace = true
toml.workspace = true
Expand Down
4 changes: 2 additions & 2 deletions crates/torii/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ async-trait.workspace = true
crypto-bigint.workspace = true
dojo-types = { path = "../../dojo-types" }
dojo-world = { path = "../../dojo-world", features = [ "contracts" ] }
futures-util.workspace = true
futures.workspace = true
futures-util.workspace = true
libp2p-gossipsub = "0.46.1"
num-traits.workspace = true
parking_lot.workspace = true
serde.workspace = true
serde_json.workspace = true
starknet-crypto.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
thiserror.workspace = true
tokio = { version = "1.32.0", features = [ "sync" ], default-features = false }
torii-grpc = { path = "../grpc", features = [ "client" ] }
Expand Down
2 changes: 1 addition & 1 deletion crates/torii/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ serde_json.workspace = true
slab = "0.4.2"
sozo-ops.workspace = true
sqlx.workspace = true
starknet-crypto.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
thiserror.workspace = true
tokio = { version = "1.32.0", features = [ "sync" ], default-features = true }
tokio-stream = "0.1.11"
Expand Down
6 changes: 3 additions & 3 deletions crates/torii/graphql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ sqlx.workspace = true
strum.workspace = true
strum_macros.workspace = true
thiserror.workspace = true
tokio.workspace = true
tokio-stream = "0.1.11"
tokio-util = "0.7.7"
tokio.workspace = true
toml.workspace = true
torii-core = { path = "../core" }
tracing.workspace = true
Expand All @@ -41,10 +41,10 @@ warp.workspace = true
[dev-dependencies]
camino.workspace = true
dojo-test-utils = { path = "../../dojo-test-utils", features = [ "build-examples" ] }
dojo-world.workspace = true
dojo-utils.workspace = true
dojo-world.workspace = true
katana-runner.workspace = true
scarb.workspace = true
serial_test = "2.0.0"
starknet-crypto.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
12 changes: 6 additions & 6 deletions crates/torii/grpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ version.workspace = true
[dependencies]
bytes.workspace = true
dojo-types = { path = "../../dojo-types" }
futures-util.workspace = true
futures.workspace = true
futures-util.workspace = true
num-traits.workspace = true
parking_lot.workspace = true
rayon.workspace = true
starknet-crypto.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
thiserror.workspace = true
torii-core = { path = "../core", optional = true }

Expand All @@ -24,22 +24,22 @@ strum.workspace = true
strum_macros.workspace = true

# server
dojo-world = { path = "../../dojo-world", features = [ "contracts" ] }
hex.workspace = true
hyper.workspace = true
rand.workspace = true
serde_json.workspace = true
tower.workspace = true
tracing.workspace = true
dojo-world = { path = "../../dojo-world", features = [ "contracts" ] }

[dev-dependencies]
cainome.workspace = true
camino.workspace = true
dojo-test-utils.workspace = true
dojo-utils.workspace = true
katana-runner.workspace = true
scarb.workspace = true
sozo-ops.workspace = true
katana-runner.workspace = true

[target.'cfg(target_arch = "wasm32")'.dependencies]
tonic-web-wasm-client.workspace = true
Expand All @@ -49,11 +49,11 @@ wasm-tonic.workspace = true
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
prost.workspace = true
sqlx.workspace = true
tokio-stream = "0.1.14"
tokio.workspace = true
tokio-stream = "0.1.14"
tonic.workspace = true
tonic-reflection.workspace = true
tonic-web.workspace = true
tonic.workspace = true
url.workspace = true

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/torii/libp2p/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ dojo-world = { path = "../../dojo-world", features = [ "contracts" ] }
indexmap.workspace = true
regex.workspace = true
serde_json.workspace = true
starknet-crypto.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
thiserror.workspace = true
tracing-subscriber = { version = "0.3", features = [ "env-filter" ] }
tracing.workspace = true
tracing-subscriber = { version = "0.3", features = [ "env-filter" ] }

[dev-dependencies]
dojo-test-utils.workspace = true
Expand Down
Loading
Loading