File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 5
5
//! Such checks for interrupts are provided in custom implementations of various traits to transparently add interrupt
6
6
//! support to methods who wouldn't otherwise by injecting it. see [`Read`].
7
7
8
+ #[ cfg( feature = "interrupt" ) ]
8
9
mod init {
9
10
use std:: {
10
11
io,
@@ -143,6 +144,7 @@ use std::{
143
144
sync:: atomic:: { AtomicBool , Ordering } ,
144
145
} ;
145
146
147
+ #[ cfg( feature = "interrupt" ) ]
146
148
pub use init:: { init_handler, Deregister } ;
147
149
148
150
/// A wrapper for an inner iterator which will check for interruptions on each iteration.
Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ pub use gix_url::Url;
122
122
pub use gix_utils as utils;
123
123
pub use hash:: { oid, ObjectId } ;
124
124
125
- #[ cfg( feature = "interrupt" ) ]
126
125
pub mod interrupt;
127
126
128
127
mod ext;
You can’t perform that action at this time.
0 commit comments