diff --git a/Cargo.toml b/Cargo.toml index b8a824bd..f2375fdd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/crates/gateway/Cargo.toml b/crates/gateway/Cargo.toml index da116f2d..3875d7e5 100644 --- a/crates/gateway/Cargo.toml +++ b/crates/gateway/Cargo.toml @@ -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 diff --git a/crates/gateway/src/lib.rs b/crates/gateway/src/lib.rs new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/crates/gateway/src/lib.rs @@ -0,0 +1 @@ +