Jake Hillion
3cc3e7ca53
Code samples in each C++, Rust and Go for creating a TUN interface, placing the packets into a queue, and consuming that from 10 different threads/goroutines.
12 lines
254 B
TOML
12 lines
254 B
TOML
[package]
|
|
name = "rust"
|
|
version = "0.1.0"
|
|
authors = ["Jake Hillion <jake@hillion.co.uk>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
tun-tap = "0.1.2"
|
|
spmc = "0.3.0"
|