5d1ed3178d
The Phase 7 subagent added proptest blocks in filter/table.rs and
filter/conntrack.rs that did not compile against proptest 1.4
in Cargo.toml. The 'rules in ...' tuple syntax and the
'Ipv6Address::from_bytes' call are proptest 1.5+ / smoltcp 0.13+
features that aren't available in the actual installed versions.
The fuzz targets I added used 'EthernetProtocol::from(u8, u8)',
'Ipv4Packet::protocol()', and 'UdpPacket::length()' methods that
are not in the installed smoltcp 0.13.1.
This commit reverts those additions and deletes the fuzz
directory entirely. The original 31 netstack unit tests are
preserved. The Phase 7 fuzzer and proptest work is now [DEFERRED]
until the smoltcp API surface is verified and proptest is bumped
to 1.5+ (or the test syntax is rewritten for 1.4).
Verified: filter/{table,conntrack}.rs revert to their HEAD state,
and netstack/Cargo.toml no longer has the broken
proptest dev-dependency. Cargo.lock is regenerated by the
upcoming build.
42 lines
907 B
TOML
42 lines
907 B
TOML
[package]
|
|
name = "netstack"
|
|
description = "Network stack daemons"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "netstack"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
redox_event.workspace = true
|
|
daemon = { path = "../daemon" }
|
|
redox_syscall = { workspace = true, features = ["std"] }
|
|
redox-log.workspace = true
|
|
libredox = { workspace = true, features = ["mkns"] }
|
|
anyhow.workspace = true
|
|
redox-scheme.workspace = true
|
|
scheme-utils = { path = "../scheme-utils" }
|
|
|
|
[dependencies.log]
|
|
workspace = true
|
|
default-features = false
|
|
features = ["release_max_level_warn"]
|
|
|
|
[dependencies.smoltcp]
|
|
version = "0.13.1"
|
|
default-features = false
|
|
features = [
|
|
"std",
|
|
"medium-ethernet", "medium-ip",
|
|
"proto-ipv4",
|
|
"proto-ipv6",
|
|
"socket-raw", "socket-icmp", "socket-udp", "socket-tcp", "socket-tcp-cubic",
|
|
"iface-max-addr-count-8",
|
|
"log"
|
|
]
|
|
#For debugging: "log", "verbose"
|
|
|
|
[lints]
|
|
workspace = true
|