implement minimal NIF to create and read from a TUN device
This commit is contained in:
parent
72a4f2ff8f
commit
7b4d355d1a
12 changed files with 963 additions and 1 deletions
13
native/p2pchat_transport_tuntapport/Cargo.toml
Normal file
13
native/p2pchat_transport_tuntapport/Cargo.toml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[package]
|
||||
name = "p2pchat_transport_tuntapport"
|
||||
version = "0.1.0"
|
||||
authors = []
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
crate-type = ["cdylib"]
|
||||
|
||||
[dependencies]
|
||||
rustler = "0.37.4"
|
||||
tun-rs = { version = "2.8.3", default-features = false, features = ["blocking", "experimental"] }
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue