Skip to content

Commit

Permalink
chore: cleanup deps (#2680)
Browse files Browse the repository at this point in the history
* chore: cleanup wip

* chore: cleanup deps 2
  • Loading branch information
glihm authored Nov 11, 2024
1 parent 81e9707 commit caaf06b
Show file tree
Hide file tree
Showing 13 changed files with 8 additions and 127 deletions.
91 changes: 0 additions & 91 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion bin/torii/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ hyper-reverse-proxy = { git = "https://github.com/tarrencev/hyper-reverse-proxy"
hyper.workspace = true
indexmap.workspace = true
lazy_static.workspace = true
scarb.workspace = true
serde.workspace = true
serde_json.workspace = true
sqlx.workspace = true
Expand Down
23 changes: 0 additions & 23 deletions crates/dojo/lang/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,20 @@ testing = [ ]

[dependencies]
anyhow.workspace = true
cairo-lang-compiler.workspace = true
cairo-lang-defs.workspace = true
cairo-lang-diagnostics.workspace = true
cairo-lang-filesystem.workspace = true
cairo-lang-plugins.workspace = true
cairo-lang-project.workspace = true
cairo-lang-semantic.workspace = true
cairo-lang-sierra-generator.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
camino.workspace = true
convert_case.workspace = true
dojo-types.workspace = true
indoc.workspace = true
itertools.workspace = true
regex.workspace = true
semver.workspace = true
serde.workspace = true
serde_json.workspace = true
serde_with.workspace = true
smol_str.workspace = true
starknet.workspace = true
starknet-crypto.workspace = true
tempfile.workspace = true
toml.workspace = true
tracing.workspace = true
url.workspace = true

[dev-dependencies]
assert_fs.workspace = true
cairo-lang-debug.workspace = true
cairo-lang-parser.workspace = true
cairo-lang-semantic.workspace = true
cairo-lang-test-utils.workspace = true
once_cell.workspace = true
salsa.workspace = true
test-log.workspace = true
2 changes: 2 additions & 0 deletions crates/dojo/lang/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
//!
//! This crate contains the Dojo compiler, with a cairo plugin for the Cairo language.
#![warn(unused_crate_dependencies)]

pub mod attribute_macros;
pub mod aux_data;
pub mod cairo_plugin;
Expand Down
3 changes: 0 additions & 3 deletions crates/dojo/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ anyhow.workspace = true
assert_fs.workspace = true
async-trait.workspace = true
camino.workspace = true
dojo-lang.workspace = true
dojo-world.workspace = true
jsonrpsee = { workspace = true, features = [ "server" ] }
katana-core = { workspace = true }
katana-executor = { workspace = true, features = [ "blockifier" ] }
Expand All @@ -29,7 +27,6 @@ url.workspace = true
[build-dependencies]
assert_fs.workspace = true
camino.workspace = true
dojo-lang.workspace = true
scarb.workspace = true
scarb-ui.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion crates/dojo/test-utils/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// #![warn(unused_crate_dependencies)]
#![warn(unused_crate_dependencies)]

pub mod compiler;
pub mod migration;
Expand Down
1 change: 0 additions & 1 deletion crates/katana/rpc/rpc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ assert_matches.workspace = true
cainome.workspace = true
dojo-test-utils.workspace = true
dojo-utils.workspace = true
dojo-world.workspace = true
indexmap.workspace = true
jsonrpsee = { workspace = true, features = [ "client" ] }
katana-cairo.workspace = true
Expand Down
3 changes: 0 additions & 3 deletions crates/metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow.workspace = true
hyper = { workspace = true, features = [ "http1", "http2", "server", "tcp" ] }
thiserror.workspace = true
tokio.workspace = true
tracing.workspace = true

# Metrics
Expand All @@ -18,7 +16,6 @@ metrics-derive = "0.1"
metrics-exporter-prometheus = "0.15.3"
metrics-process = "2.1.0"
metrics-util = "0.17.0"
tokio-util.workspace = true

[target.'cfg(not(windows))'.dependencies]
jemalloc-ctl = { version = "0.5.0", optional = true }
Expand Down
2 changes: 2 additions & 0 deletions crates/metrics/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![warn(unused_crate_dependencies)]

pub mod exporters;
mod process;
mod server;
Expand Down
1 change: 0 additions & 1 deletion crates/sozo/ops/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ version.workspace = true
[dependencies]
anyhow.workspace = true
async-trait.workspace = true
bigdecimal = "0.4.5"
cainome.workspace = true
colored.workspace = true
colored_json.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion crates/torii/types-test/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ version = "2.8.4"

[[package]]
name = "types_test"
version = "1.0.0-rc.0"
version = "1.0.0"
dependencies = [
"dojo",
]
2 changes: 1 addition & 1 deletion examples/simple/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version = 1

[[package]]
name = "dojo"
version = "1.0.0-rc.0"
version = "1.0.0"
dependencies = [
"dojo_plugin",
]
Expand Down
2 changes: 1 addition & 1 deletion examples/spawn-and-move/Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies = [

[[package]]
name = "dojo_examples"
version = "1.0.0-rc.0"
version = "1.0.0"
dependencies = [
"armory",
"bestiary",
Expand Down

0 comments on commit caaf06b

Please sign in to comment.