File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ all-features = true
1414rustdoc-args = [" --cfg" , " docsrs" ]
1515
1616[dependencies ]
17- once_cell = { workspace = true }
1817slab = { workspace = true }
1918synchrony = { workspace = true , features = [" async_flag" ] }
2019
2120# Windows specific dependencies
2221[target .'cfg(windows)' .dependencies ]
22+ once_cell = { workspace = true }
2323windows-sys = { workspace = true , features = [
2424 " Win32_Foundation" ,
2525 " Win32_System_Console" ,
@@ -35,6 +35,5 @@ futures-executor = { workspace = true }
3535
3636[features ]
3737# Nightly features
38- lazy_cell = []
3938once_cell_try = []
40- nightly = [" lazy_cell " , " once_cell_try" ]
39+ nightly = [" once_cell_try" ]
Original file line number Diff line number Diff line change 1515
1616#![ cfg_attr( docsrs, feature( doc_cfg) ) ]
1717#![ cfg_attr( feature = "once_cell_try" , feature( once_cell_try) ) ]
18- #![ cfg_attr( feature = "lazy_cell" , feature( lazy_cell) ) ]
1918#![ allow( unused_features) ]
2019#![ warn( missing_docs) ]
2120#![ deny( rustdoc:: broken_intra_doc_links) ]
22- #![ allow( stable_features) ]
2321#![ doc(
2422 html_logo_url = "https://github.com/compio-rs/compio-logo/raw/refs/heads/master/generated/colored-bold.svg"
2523) ]
Original file line number Diff line number Diff line change 11//! Unix-specific types for signal handling.
22
3- #[ cfg( feature = "lazy_cell" ) ]
4- use std:: sync:: LazyLock ;
53use std:: {
64 collections:: HashMap ,
75 io:: { self , Read , Write } ,
86 ops:: Deref ,
9- sync:: Mutex ,
7+ sync:: { LazyLock , Mutex } ,
108} ;
119
12- #[ cfg( not( feature = "lazy_cell" ) ) ]
13- use once_cell:: sync:: Lazy as LazyLock ;
1410use os_pipe:: { PipeReader , PipeWriter } ;
1511use slab:: Slab ;
1612use synchrony:: sync:: async_flag:: { AsyncFlag as Event , AsyncFlagHandle as EventHandle } ;
Original file line number Diff line number Diff line change 11//! Windows-specific types for signal handling.
22
3- #[ cfg( feature = "lazy_cell" ) ]
4- use std:: sync:: LazyLock ;
53#[ cfg( feature = "once_cell_try" ) ]
64use std:: sync:: OnceLock ;
7- use std:: { collections:: HashMap , io, sync:: Mutex } ;
5+ use std:: {
6+ collections:: HashMap ,
7+ io,
8+ sync:: { LazyLock , Mutex } ,
9+ } ;
810
9- #[ cfg( not( feature = "lazy_cell" ) ) ]
10- use once_cell:: sync:: Lazy as LazyLock ;
1111#[ cfg( not( feature = "once_cell_try" ) ) ]
1212use once_cell:: sync:: OnceCell as OnceLock ;
1313use slab:: Slab ;
Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ enable_log = ["compio-log/enable_log"]
126126# Nightly features
127127allocator_api = [" compio-buf/allocator_api" , " compio-io?/allocator_api" ]
128128current_thread_id = [" compio-runtime?/current_thread_id" ]
129- lazy_cell = [" compio-signal?/lazy_cell" ]
130129linux_pidfd = [" compio-process?/linux_pidfd" ]
131130once_cell_try = [
132131 " compio-driver/once_cell_try" ,
@@ -146,7 +145,6 @@ future-combinator = ["compio-runtime?/future-combinator"]
146145nightly = [
147146 " allocator_api" ,
148147 " current_thread_id" ,
149- " lazy_cell" ,
150148 " linux_pidfd" ,
151149 " once_cell_try" ,
152150 " proc_macro_diagnostic" ,
You can’t perform that action at this time.
0 commit comments