You've already forked ipfilter
Restructure crates and switch to Zed
This commit is contained in:
+25
-24
@@ -1,18 +1,25 @@
|
||||
[workspace]
|
||||
members = ["cli", "ipfilter"]
|
||||
resolver = "2"
|
||||
members = ["crates/*"]
|
||||
|
||||
[workspace.package]
|
||||
authors = ["David Skrundz"]
|
||||
edition = "2024"
|
||||
license-file = "LICENSE.md"
|
||||
|
||||
edition = "2024"
|
||||
rust-version = "1.85.0"
|
||||
|
||||
[workspace.lints.rust]
|
||||
arithmetic_overflow = "forbid"
|
||||
missing_docs = "forbid"
|
||||
unsafe_code = "forbid"
|
||||
unused_doc_comments = "forbid"
|
||||
[workspace.dependencies]
|
||||
ipfilter = { path = "crates/ipfilter", version = "=0.0.2", default-features = false }
|
||||
ipfilter-cli = { path = "crates/cli", version = "=0.0.2", default-features = false }
|
||||
|
||||
bincode = { version = "^2", default-features = false } # 3.x is effectively a yank
|
||||
|
||||
anyhow = { version = "^1", default-features = false }
|
||||
clap = { version = "^4", default-features = false }
|
||||
csv = { version = "^1", default-features = false }
|
||||
ipnet = { version = "^2", default-features = false }
|
||||
iprange = { version = "^0.6", default-features = false }
|
||||
itertools = { version = "^0.14", default-features = false }
|
||||
|
||||
[workspace.lints.clippy]
|
||||
arithmetic_side_effects = "forbid"
|
||||
@@ -24,24 +31,18 @@ indexing_slicing = "forbid"
|
||||
integer_division = "forbid"
|
||||
integer_division_remainder_used = "forbid"
|
||||
transmute_undefined_repr = "forbid"
|
||||
unchecked_duration_subtraction = "forbid"
|
||||
unchecked_time_subtraction = "forbid"
|
||||
unwrap_used = "forbid"
|
||||
|
||||
[workspace.lints.rust]
|
||||
arithmetic_overflow = "forbid"
|
||||
missing_docs = "forbid"
|
||||
unsafe_code = "forbid"
|
||||
unused_doc_comments = "forbid"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = "fat"
|
||||
opt-level = 3
|
||||
overflow-checks = true
|
||||
strip = "debuginfo"
|
||||
|
||||
[workspace.dependencies]
|
||||
ipfilter = { path = "ipfilter", version = "=0.0.1", default-features = false }
|
||||
|
||||
anyhow = { version = "^1", default-features = false }
|
||||
bincode = { version = "^2", default-features = false }
|
||||
clap = { version = "^4", default-features = false, features = ["std"] }
|
||||
csv = { version = "^1", default-features = false }
|
||||
ipnet = { version = "^2", default-features = false }
|
||||
iprange = { version = "^0.6", default-features = false }
|
||||
itertools = { version = "^0.14", default-features = false }
|
||||
serde = { version = "^1", default-features = false }
|
||||
overflow-checks = true
|
||||
lto = "fat"
|
||||
codegen-units = 1
|
||||
|
||||
Reference in New Issue
Block a user