This repository was archived by the owner on Oct 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -85,10 +85,16 @@ jobs:
8585 semver :
8686 name : Check semver
8787 strategy :
88+ fail-fast : false
8889 matrix :
8990 os : [ubuntu-latest, macos-latest, windows-latest]
9091 runs-on : ${{ matrix.os }}
9192 steps :
9293 - uses : actions/checkout@v4
9394 - uses : dtolnay/rust-toolchain@stable
94- - uses : obi1kenobi/cargo-semver-checks-action@v2
95+ - name : Check semver
96+ if : ${{ !cancelled() }}
97+ uses : obi1kenobi/cargo-semver-checks-action@v2
98+ - name : Abort on error
99+ if : ${{ failure() }}
100+ run : echo "Semver check failed" && false
Original file line number Diff line number Diff line change @@ -44,7 +44,6 @@ wintun-bindings = { version = "0.7", features = [
4444 " verify_binary_signature" ,
4545 " async" ,
4646] }
47- libloading = " 0.8"
4847
4948[target .'cfg(any(target_os = "macos", target_os = "freebsd"))' .dependencies ]
5049ipnet = " 2"
Original file line number Diff line number Diff line change @@ -54,10 +54,6 @@ pub enum Error {
5454 #[ error( transparent) ]
5555 WintunError ( #[ from] wintun_bindings:: Error ) ,
5656
57- #[ cfg( target_os = "windows" ) ]
58- #[ error( transparent) ]
59- LibloadingError ( #[ from] libloading:: Error ) ,
60-
6157 #[ error( "{0}" ) ]
6258 String ( String ) ,
6359}
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ mod device;
1818
1919use crate :: configuration:: Configuration ;
2020use crate :: error:: Result ;
21+ #[ cfg( feature = "async" ) ]
2122pub use device:: Driver ;
2223pub use device:: { Device , Tun } ;
2324use std:: ffi:: OsString ;
You can’t perform that action at this time.
0 commit comments