[package]
name = "integer-encoding"
version = "1.1.7"
authors = ["Lewin Bormann <lbo@spheniscida.de>"]
description = "varint+zigzag and fixedint integer encoding/decoding (https://developers.google.com/protocol-buffers/docs/encoding)"
repository = "https://github.com/dermesser/integer-encoding-rs"
documentation = "https://docs.rs/integer-encoding/"
license = "MIT"
keywords = ["integer", "varint", "zigzag", "protobuf", "serialize"]
edition = "2018"
[dependencies]
async-trait = { version = "0.1", optional = true }
tokio = { version = "0.2", features = ["io-util"], optional = true }
futures-util = { version = "0.3", optional = true, features = ["io"] }
[dev-dependencies]
tokio = { version = "0.2", features = ["fs", "rt-threaded", "macros"] }
[workspace]
members = ["examples/read-write-file", "examples/encode-varint-stdin"]
[features]
tokio_async = ["tokio", "async-trait"]
futures_async = ["futures-util", "async-trait"]
[package.metadata.docs.rs]
features = ["tokio_async"]