feat: add fuzz feature flag and arbitrary dependency
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c8c7c3271f
commit
d7f630500d
2 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ num-derive = "0.4.2"
|
|||
serde = { version = "1.0", features = ["derive"], optional = true }
|
||||
nusb = { git = "https://git.dsg.is/dsg/nusb.git", rev = "c1380673" }
|
||||
tokio-util = { version = "0.7", features = ["rt"] }
|
||||
arbitrary = { version = "1", features = ["derive"], optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tokio = { version = "1.22.0", features = ["full"] }
|
||||
|
|
@ -23,3 +24,4 @@ env_logger = "0.11.7"
|
|||
[features]
|
||||
default = []
|
||||
serde = ["dep:serde"]
|
||||
fuzz = ["dep:arbitrary"]
|
||||
|
|
|
|||
|
|
@ -29,6 +29,8 @@ mod interface;
|
|||
mod setup;
|
||||
pub mod usbip_protocol;
|
||||
mod util;
|
||||
#[cfg(feature = "fuzz")]
|
||||
pub mod fuzz_helpers;
|
||||
pub use consts::*;
|
||||
pub use device::*;
|
||||
pub use endpoint::*;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue