File tree Expand file tree Collapse file tree 6 files changed +617
-271
lines changed Expand file tree Collapse file tree 6 files changed +617
-271
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
10
10
([ #876 ] ( https://github.com/nix-rust/nix/pull/876 ) )
11
11
- Added ` SO_MARK ` on Linux.
12
12
- ([ #873 ] ( https://github.com/nix-rust/nix/pull/873 ) )
13
+ - Added safe support for nearly any buffer type in the ` sys::aio ` module.
14
+ ([ #872 ] ( https://github.com/nix-rust/nix/pull/872 ) )
15
+ - Added ` sys::aio::LioCb ` as a wrapper for ` libc::lio_listio ` .
16
+ ([ #872 ] ( https://github.com/nix-rust/nix/pull/872 ) )
13
17
- Added ` getsid ` in ` ::nix::unistd `
14
18
([ #850 ] ( https://github.com/nix-rust/nix/pull/850 ) )
15
19
- Added ` alarm ` . ([ #830 ] ( https://github.com/nix-rust/nix/pull/830 ) )
@@ -35,6 +39,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
35
39
([ #837 ] ( https://github.com/nix-rust/nix/pull/837 ) )
36
40
37
41
### Removed
42
+ - Removed explicit support for the ` bytes ` crate from the ` sys::aio ` module.
43
+ See ` sys::aio::AioCb::from_boxed_slice ` s examples for alternatives.
44
+ ([ #872 ] ( https://github.com/nix-rust/nix/pull/872 ) )
45
+ - Removed ` sys::aio::lio_listio ` . Use ` sys::aio::LioCb::listio ` instead.
46
+ ([ #872 ] ( https://github.com/nix-rust/nix/pull/872 ) )
38
47
39
48
## [ 0.10.0] 2018-01-26
40
49
Original file line number Diff line number Diff line change @@ -17,20 +17,21 @@ bitflags = "1.0"
17
17
cfg-if = " 0.1.0"
18
18
void = " 1.0.2"
19
19
20
- [dependencies .bytes ]
21
- version = " 0.4.5"
22
- # Don't include the optional serde feature
23
- default-features = false
24
-
25
20
[target .'cfg(target_os = "dragonfly")' .build-dependencies ]
26
21
cc = " 1"
27
22
28
23
[dev-dependencies ]
24
+ # The examples use a new feature of Bytes which should be available in 0.4.7
25
+ # https://github.com/carllerche/bytes/pull/192
26
+ bytes = { git = " https://github.com/carllerche/bytes" , rev = " ae1b454" }
29
27
lazy_static = " 1"
30
28
rand = " 0.4"
31
29
tempdir = " 0.3"
32
30
tempfile = " 2"
33
31
32
+ [target .'cfg(target_os = "freebsd")' .dev-dependencies ]
33
+ sysctl = " 0.1"
34
+
34
35
[[test ]]
35
36
name = " test"
36
37
path = " test/test.rs"
@@ -39,6 +40,10 @@ path = "test/test.rs"
39
40
name = " test-aio-drop"
40
41
path = " test/sys/test_aio_drop.rs"
41
42
43
+ [[test ]]
44
+ name = " test-lio-listio-resubmit"
45
+ path = " test/sys/test_lio_listio_resubmit.rs"
46
+
42
47
[[test ]]
43
48
name = " test-mount"
44
49
path = " test/test_mount.rs"
Original file line number Diff line number Diff line change 16
16
#![ deny( missing_debug_implementations) ]
17
17
18
18
// External crates
19
- extern crate bytes;
20
19
#[ macro_use]
21
20
extern crate bitflags;
22
21
#[ macro_use]
You can’t perform that action at this time.
0 commit comments