Skip to content

Commit

Permalink
Merge pull request #7 from starkware-libs/spr/main/1a9f43aa
Browse files Browse the repository at this point in the history
fix: fix compilation by fixing crates structure
  • Loading branch information
giladchase authored Mar 20, 2024
2 parents e33dbc7 + 84aee89 commit 5ff42c6
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
21 changes: 17 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
[workspace]
# Using version 2 to avoid unifying features. For more info, read:
# https://doc.rust-lang.org/cargo/reference/resolver.html#feature-resolver-version-2
resolver = "2" # Specify the resolver version that matches edition 2021

resolver = "2"
members = ["crates/gateway"]

[workspace.package]
version = "0.0.0"
edition = "2021"
repository = "https://github.com/starkware-libs/mempool/"
license = "Apache-2.0"

[workspace.lints.rust]
warnings = "deny"
future-incompatible = "deny"
nonstandard-style = "deny"
rust-2018-idioms = "deny"
unused = "deny"

[workspace.lints.clippy]
as_conversions = "deny"
13 changes: 10 additions & 3 deletions crates/gateway/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[package]
name = "gateway"
version = "0.1.0"
edition = "2021"
name = "starknet_gateway"
version.workspace = true
edition.workspace = true
repository.workspace = true
license.workspace = true

[dependencies]

[lints]
workspace = true
1 change: 1 addition & 0 deletions crates/gateway/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 5ff42c6

Please sign in to comment.