-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
27 lines (24 loc) · 918 Bytes
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[package]
name = "endian-num"
version = "0.2.0"
authors = ["Martin Kröning <[email protected]>"]
edition = "2021"
description = "Byte-order-aware numeric types."
repository = "https://github.com/rust-osdev/endian-num"
license = "MIT OR Apache-2.0"
keywords = ["byte", "endian", "big-endian", "little-endian", "binary"]
categories = ["encoding", "rust-patterns", "no-std::no-alloc"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
bitflags = { version = "2", optional = true }
bytemuck = { version = "1", optional = true }
bytemuck_derive = { version = "1", optional = true }
zerocopy = { version = "0.8", optional = true, default-features = false }
zerocopy-derive = { version = "0.8", optional = true }
[features]
bitflags = ["dep:bitflags"]
bytemuck = ["dep:bytemuck", "dep:bytemuck_derive"]
linux-types = []
zerocopy = ["dep:zerocopy", "dep:zerocopy-derive"]