File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 with :
3030 submodules : recursive
3131 - uses : dtolnay/rust-toolchain@stable
32- - run : sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev -y
32+ - run : sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint libtool -y
3333 - uses : Swatinem/rust-cache@v2
3434 - run : cargo check --workspace --all-features
3535 - run : cargo build --workspace --all-features
4545 - uses : dtolnay/rust-toolchain@stable
4646 with :
4747 components : clippy
48- - run : sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev -y
48+ - run : sudo apt update && sudo apt install ethtool iputils-ping iperf iperf3 pkg-config m4 clang llvm libelf-dev libpcap-dev gcc-multilib libnftnl-dev libmnl-dev autoconf automake autopoint libtool -y
4949 - uses : Swatinem/rust-cache@v2
5050 - run : cargo clippy --workspace --all-features --tests -- -Dwarnings
5151 # - uses: giraffate/clippy-action@v1
Original file line number Diff line number Diff line change @@ -110,19 +110,19 @@ nix = { workspace = true }
110110once_cell = { workspace = true }
111111paste = " 1.0.14"
112112rand = { workspace = true }
113- rattan-core = { path = " rattan-core" , features = [" serde" ] }
114- rattan-log = { path = " rattan-log" }
113+ rattan-core = { path = " rattan-core" , features = [" serde" ], version = " 0.1.0 " }
114+ rattan-log = { path = " rattan-log" , version = " 0.1.0 " }
115115serde = { workspace = true }
116116serde_json = " 1.0.114"
117- shadow-rs = { version = " 1.3 .0" , default-features = false }
117+ shadow-rs = { version = " 1.7 .0" , default-features = false }
118118tokio = { workspace = true }
119119toml = " 1.0.1"
120120tracing = { workspace = true }
121121tracing-appender = " 0.2.3"
122122tracing-subscriber = { workspace = true }
123123
124124[build-dependencies ]
125- shadow-rs = " 1.3 .0"
125+ shadow-rs = " 1.7 .0"
126126
127127[features ]
128128default = [" first-packet" ]
Original file line number Diff line number Diff line change @@ -22,6 +22,25 @@ allow-dirty = ["ci"]
2222# Path that installers should place binaries in
2323install-path = " CARGO_HOME"
2424
25+ [dist .dependencies .apt ]
26+ ethtool = " *"
27+ iputils-ping = " *"
28+ iperf = " *"
29+ iperf3 = " *"
30+ pkg-config = " *"
31+ m4 = " *"
32+ clang = " *"
33+ llvm = " *"
34+ libelf-dev = " *"
35+ libpcap-dev = " *"
36+ gcc-multilib = " *"
37+ libnftnl-dev = " *"
38+ libmnl-dev = " *"
39+ autoconf = " *"
40+ automake = " *"
41+ autopoint = " *"
42+ libtool = " *"
43+
2544[dist .github-custom-runners ]
2645global = " ubuntu-latest"
2746x86_64-unknown-linux-gnu = " ubuntu-latest"
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ once_cell = { workspace = true }
5151parking_lot = { workspace = true }
5252pcap-file = { workspace = true }
5353rand = { workspace = true }
54- rattan-env = { path = " ../rattan-env" }
55- rattan-log = { path = " ../rattan-log" }
54+ rattan-env = { path = " ../rattan-env" , version = " 0.1.0 " }
55+ rattan-log = { path = " ../rattan-log" , version = " 0.1.0 " }
5656regex = " 1.7.3"
5757serde = { workspace = true , optional = true }
5858serde_json = { version = " 1.0.96" , optional = true }
You can’t perform that action at this time.
0 commit comments