meh / rust-tun

TUN device creation and handling.
343 stars 136 forks source link

add Requirements for using rust-tun #32

Open Drumato opened 3 years ago

Drumato commented 3 years ago

Thanks to create this awesome crate!
I tryed to use this crate in my project, but it's not worked in stable channel such as below.

[dependencies]
tun = "0.3"
$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home:  ~/.rustup

stable-x86_64-unknown-linux-gnu (default)
rustc 1.50.0 (cb75ad5db 2021-02-10)

because #![feature] used in src/lib.rs.
so I added a sentence that tells users should use rust-tun with nightly released rustc.

Drumato commented 3 years ago

I realized no warnings if specifying version is 0.5.1. Should I close this PR?
or change the version written in README.md#Usage from 0.3 to 0.5.1?