[package] name = "bitendian" version = "0.2.0" edition = "2021" license = "MIT OR Apache-2.0" authors = ["Aatif Syed "] description = "Ergonomic library for reading/writing numbers in big-endian and little-endian with async support." documentation = "https://docs.rs/bitendian" homepage = "https://github.com/aatifsyed/bitendian" repository = "https://github.com/aatifsyed/bitendian" categories = ["encoding", "parsing", "no-std", "asynchronous", "embedded"] keywords = ["endian", "binary", "async", "tokio", "futures"] [features] default = ["std"] full = ["std", "futures", "tokio"] std = [] futures = ["dep:futures-io", "dep:pin-project", "std"] tokio = ["dep:tokio", "dep:pin-project", "std"] [dependencies] futures-io = { version = "0.3.29", optional = true } pin-project = { version = "1.1.3", optional = true } tokio = { version = "1.33.0", optional = true, default-features = false, features = [ "io-std", ] } [dev-dependencies] async-fs = "2.1.0" byteorder = "1.5.0" futures = "0.3.29" tempfile = "3.8.1" tokio = { version = "1.33.0", features = ["rt", "fs", "io-util"] } [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "do_doc_cfg"]