File tree 4 files changed +6
-9
lines changed
4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " ipc-channel"
3
- version = " 0.3.1 "
3
+ version = " 0.4.0 "
4
4
5
5
[lib ]
6
6
name = " ipc_channel"
7
7
path = " lib.rs"
8
8
9
- [features ]
10
- inprocess = []
11
-
12
9
[dependencies ]
13
10
bincode = " 0.5.9"
14
11
lazy_static = " 0.2"
Original file line number Diff line number Diff line change @@ -13,4 +13,4 @@ install:
13
13
build : false
14
14
15
15
test_script :
16
- - cargo test --verbose --features inprocess
16
+ - cargo test --verbose
Original file line number Diff line number Diff line change 7
7
// option. This file may not be copied, modified, or distributed
8
8
// except according to those terms.
9
9
10
- #![ cfg_attr( feature = "inprocess" , feature( mpsc_select) ) ]
11
10
#![ feature( borrow_state) ]
11
+ #![ cfg_attr( any( target_os="windows" , target_os="android" ) , feature( mpsc_select) ) ]
12
12
13
13
#[ macro_use]
14
14
extern crate lazy_static;
Original file line number Diff line number Diff line change 8
8
// except according to those terms.
9
9
10
10
mod os {
11
- #[ cfg( all ( not ( feature = "inprocess" ) , target_os = "linux" ) ) ]
11
+ #[ cfg( target_os = "linux" ) ]
12
12
include ! ( "linux/mod.rs" ) ;
13
13
14
- #[ cfg( all ( not ( feature = "inprocess" ) , target_os = "macos" ) ) ]
14
+ #[ cfg( target_os = "macos" ) ]
15
15
include ! ( "macos/mod.rs" ) ;
16
16
17
- #[ cfg( feature = "inprocess" ) ]
17
+ #[ cfg( any ( target_os = "windows" , target_os = "android" ) ) ]
18
18
include ! ( "inprocess/mod.rs" ) ;
19
19
}
20
20
You can’t perform that action at this time.
0 commit comments