diff --git a/core/Cargo.toml b/core/Cargo.toml index 8d5271a2..4cf087ef 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -50,4 +50,4 @@ x509-parser = "0.13.2" [features] timing = [] mlx5 = [] -default = ["mlx5"] +default = [] diff --git a/examples/basic/Cargo.toml b/examples/basic/Cargo.toml index bcb06b62..b68623c8 100644 --- a/examples/basic/Cargo.toml +++ b/examples/basic/Cargo.toml @@ -12,6 +12,6 @@ jsonl = "4.0.1" lazy_static = "1.4.0" log = { version = "0.4", features = ["release_max_level_info"] } regex = "1.7.3" -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" } serde_json = "1.0.96" diff --git a/examples/client_randoms/Cargo.toml b/examples/client_randoms/Cargo.toml index 956b31bc..56b102d6 100644 --- a/examples/client_randoms/Cargo.toml +++ b/examples/client_randoms/Cargo.toml @@ -10,7 +10,7 @@ clap = { version = "3.2.23", features = ["derive"] } env_logger = "0.8.4" hex = "0.4.3" log = { version = "0.4", features = ["release_max_level_info"] } -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" } serde_json = "1.0.96" diff --git a/examples/ip_anon/Cargo.toml b/examples/ip_anon/Cargo.toml index 8f19a91b..cb01d918 100644 --- a/examples/ip_anon/Cargo.toml +++ b/examples/ip_anon/Cargo.toml @@ -12,7 +12,7 @@ ipcrypt = "0.1.0" lazy_static = "1.4.0" log = { version = "0.4", features = ["release_max_level_info"] } regex = "1.7.3" -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" } [dependencies.pnet] diff --git a/examples/log_conn/Cargo.toml b/examples/log_conn/Cargo.toml index 4e111d48..b706aed9 100644 --- a/examples/log_conn/Cargo.toml +++ b/examples/log_conn/Cargo.toml @@ -12,6 +12,6 @@ jsonl = "4.0.1" lazy_static = "1.4.0" log = { version = "0.4", features = ["release_max_level_info"] } regex = "1.7.3" -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" } serde_json = "1.0.96" diff --git a/examples/log_dns/Cargo.toml b/examples/log_dns/Cargo.toml index c472479f..1eae4220 100644 --- a/examples/log_dns/Cargo.toml +++ b/examples/log_dns/Cargo.toml @@ -12,6 +12,6 @@ jsonl = "4.0.1" lazy_static = "1.4.0" log = { version = "0.4", features = ["release_max_level_info"] } regex = "1.7.3" -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" } serde_json = "1.0.96" diff --git a/examples/log_http/Cargo.toml b/examples/log_http/Cargo.toml index 0cc3a082..37996f19 100644 --- a/examples/log_http/Cargo.toml +++ b/examples/log_http/Cargo.toml @@ -12,6 +12,6 @@ jsonl = "4.0.1" lazy_static = "1.4.0" log = { version = "0.4", features = ["release_max_level_info"] } regex = "1.7.3" -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" } serde_json = "1.0.96" diff --git a/examples/log_quic/Cargo.toml b/examples/log_quic/Cargo.toml index c168caeb..56fcb9ed 100644 --- a/examples/log_quic/Cargo.toml +++ b/examples/log_quic/Cargo.toml @@ -12,6 +12,6 @@ jsonl = "4.0.1" lazy_static = "1.4.0" log = { version = "0.4", features = ["release_max_level_info"] } regex = "1.7.3" -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" } serde_json = "1.0.96" diff --git a/examples/log_tls/Cargo.toml b/examples/log_tls/Cargo.toml index 6314bc7d..ed8db710 100644 --- a/examples/log_tls/Cargo.toml +++ b/examples/log_tls/Cargo.toml @@ -12,6 +12,6 @@ jsonl = "4.0.1" lazy_static = "1.4.0" log = { version = "0.4", features = ["release_max_level_info"] } regex = "1.7.3" -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" } serde_json = "1.0.96" diff --git a/examples/pcap_dump/Cargo.toml b/examples/pcap_dump/Cargo.toml index 7d7acf39..352627d6 100644 --- a/examples/pcap_dump/Cargo.toml +++ b/examples/pcap_dump/Cargo.toml @@ -12,5 +12,5 @@ lazy_static = "1.4.0" log = { version = "0.4", features = ["release_max_level_info"] } pcap-file = "1.1.1" regex = "1.7.3" -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" } diff --git a/examples/spin/Cargo.toml b/examples/spin/Cargo.toml index 3a98655b..9208589b 100644 --- a/examples/spin/Cargo.toml +++ b/examples/spin/Cargo.toml @@ -9,5 +9,5 @@ anyhow = "1.0.70" clap = { version = "3.2.23", features = ["derive"] } env_logger = "0.8.4" log = { version = "0.4", features = ["release_max_level_info"] } -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" } diff --git a/examples/video/Cargo.toml b/examples/video/Cargo.toml index 51b5db8f..02cf2541 100644 --- a/examples/video/Cargo.toml +++ b/examples/video/Cargo.toml @@ -13,5 +13,5 @@ hashlink = "0.7.0" lazy_static = "1.4.0" log = { version = "0.4", features = ["release_max_level_info"] } regex = "1.7.3" -retina-core = { path = "../../core" } +retina-core = { path = "../../core", features = ["mlx5"] } retina-filtergen = { path = "../../filtergen" }