File tree 3 files changed +0
-23
lines changed
3 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ pinned-stable = "1.64.0"
29
29
pinned-nightly = " nightly-2022-10-17"
30
30
31
31
[features ]
32
- default = [" byteorder" ]
33
-
34
32
alloc = []
35
33
simd = []
36
34
simd-nightly = [" simd" ]
@@ -45,7 +43,6 @@ zerocopy-derive = { version = "=0.6.2", path = "zerocopy-derive" }
45
43
[dependencies .byteorder ]
46
44
version = " 1.3"
47
45
default-features = false
48
- optional = true
49
46
50
47
[dev-dependencies ]
51
48
rand = " 0.6"
Original file line number Diff line number Diff line change @@ -34,15 +34,6 @@ types, see the `byteorder` module.
34
34
enabled, the ` alloc ` crate is added as a dependency, and some
35
35
allocation-related functionality is added.
36
36
37
- ` byteorder ` (enabled by default): Adds the ` byteorder ` module and a
38
- dependency on the ` byteorder ` crate. The ` byteorder ` module provides byte
39
- order-aware equivalents of the multi-byte primitive numerical types. Unlike
40
- their primitive equivalents, the types in this module have no alignment
41
- requirement and support byte order conversions. This can be useful in
42
- handling file formats, network packet layouts, etc which don't provide
43
- alignment guarantees and which may use a byte order different from that of
44
- the execution platform.
45
-
46
37
` simd ` : When the ` simd ` feature is enabled, ` FromBytes ` and ` AsBytes ` impls
47
38
are emitted for all stable SIMD types which exist on the target platform.
48
39
Note that the layout of SIMD types is not yet stabilized, so these impls may
Original file line number Diff line number Diff line change 33
33
//! enabled, the `alloc` crate is added as a dependency, and some
34
34
//! allocation-related functionality is added.
35
35
//!
36
- //! `byteorder` (enabled by default): Adds the [`byteorder`] module and a
37
- //! dependency on the `byteorder` crate. The `byteorder` module provides byte
38
- //! order-aware equivalents of the multi-byte primitive numerical types. Unlike
39
- //! their primitive equivalents, the types in this module have no alignment
40
- //! requirement and support byte order conversions. This can be useful in
41
- //! handling file formats, network packet layouts, etc which don't provide
42
- //! alignment guarantees and which may use a byte order different from that of
43
- //! the execution platform.
44
- //!
45
36
//! `simd`: When the `simd` feature is enabled, `FromBytes` and `AsBytes` impls
46
37
//! are emitted for all stable SIMD types which exist on the target platform.
47
38
//! Note that the layout of SIMD types is not yet stabilized, so these impls may
134
125
#![ cfg_attr( not( test) , no_std) ]
135
126
#![ cfg_attr( feature = "simd-nightly" , feature( stdsimd) ) ]
136
127
137
- #[ cfg( feature = "byteorder" ) ]
138
128
pub mod byteorder;
139
129
#[ doc( hidden) ]
140
130
pub mod derive_util;
141
131
142
- #[ cfg( feature = "byteorder" ) ]
143
132
pub use crate :: byteorder:: * ;
144
133
pub use zerocopy_derive:: * ;
145
134
You can’t perform that action at this time.
0 commit comments