File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ possible intended.
1818keywords = [" io" , " socket" , " network" ]
1919categories = [" api-bindings" , " network-programming" ]
2020edition = " 2021"
21- rust-version = " 1.63 "
21+ rust-version = " 1.70 "
2222include = [
2323 " Cargo.toml" ,
2424 " LICENSE-APACHE" ,
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ feature flag.
6666
6767# Minimum Supported Rust Version (MSRV)
6868
69- Socket2 uses 1.63 .0 as MSRV.
69+ Socket2 uses 1.70 .0 as MSRV.
7070
7171# License
7272
Original file line number Diff line number Diff line change @@ -2828,11 +2828,6 @@ impl crate::Socket {
28282828#[ cfg( all( feature = "all" , any( target_os = "linux" , target_os = "android" ) ) ) ]
28292829#[ repr( transparent) ]
28302830pub struct SockFilter {
2831- // For some reason Rust 1.63 thinks this field is unused, while it's clearly
2832- // used in `SockFilter::new`. This issue seems fixed in later Rust versions,
2833- // but we still need to support 1.63, adding allow(dead_code) ignores the
2834- // issue.
2835- #[ allow( dead_code) ]
28362831 filter : libc:: sock_filter ,
28372832}
28382833
You can’t perform that action at this time.
0 commit comments