Skip to content

Commit

Permalink
Merge pull request #56 from thearossman/main
Browse files Browse the repository at this point in the history
Move mlx5 feature dependency to example files
  • Loading branch information
thearossman authored Sep 7, 2024
2 parents 335a798 + bf7dc8f commit 6a55b41
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ x509-parser = "0.13.2"
[features]
timing = []
mlx5 = []
default = ["mlx5"]
default = []
2 changes: 1 addition & 1 deletion examples/basic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion examples/client_randoms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

2 changes: 1 addition & 1 deletion examples/ip_anon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion examples/log_conn/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion examples/log_dns/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion examples/log_http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion examples/log_quic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion examples/log_tls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion examples/pcap_dump/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion examples/spin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
2 changes: 1 addition & 1 deletion examples/video/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

0 comments on commit 6a55b41

Please sign in to comment.