# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "variable-len-reader" version = "3.2.0" authors = ["xuxiaocheng <2762267080@qq.com>"] description = "A library for reading/writing variable length data. Support AsyncRead/AsyncWrite in tokio." documentation = "https://docs.rs/variable-len-reader/" readme = "README.md" keywords = [ "varint", "io", "async", "futures", "no-std", ] categories = [ "encoding", "asynchronous", "no-std", ] license = "MIT" repository = "https://github.com/xuxiaocheng0201/variable-len-reader/" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.bytes] version = "^1" optional = true default-features = false [dependencies.pin-project-lite] version = "~0.2" optional = true [dependencies.tokio] version = "^1" optional = true default-features = false [dev-dependencies.anyhow] version = "^1" [dev-dependencies.tokio] version = "^1" features = [ "test-util", "macros", "rt-multi-thread", "net", ] [build-dependencies.reportme] version = ">=0.2" [features] alloc = [] async = ["dep:pin-project-lite"] async_bools = ["async"] async_default = [ "async_varint", "async_string", ] async_float_varint = ["async_varint"] async_float_varint_long = ["async_varint_long"] async_full = [ "async_bools", "async_raw", "async_raw_size", "async_varint", "async_varint_size", "async_varint_long", "async_varint_long_size", "async_signed_varint", "async_signed_varint_size", "async_signed_varint_long", "async_signed_varint_long_size", "async_float_varint", "async_float_varint_long", "async_u8_vec", "async_string", ] async_raw = ["async"] async_raw_size = ["async_raw"] async_signed_varint = [ "async_varint", "zigzag", ] async_signed_varint_long = [ "async_varint", "async_varint_long", "zigzag", ] async_signed_varint_long_size = [ "async_varint_long_size", "async_signed_varint_long", "async_varint", "zigzag", ] async_signed_varint_size = [ "async_varint_size", "async_signed_varint", "async_varint", "zigzag", ] async_string = [ "async_u8_vec", "alloc", ] async_u8_vec = [ "async_varint_size", "alloc", ] async_varint = ["async_raw"] async_varint_long = [ "async_raw", "async_varint", ] async_varint_long_size = [ "async_raw", "async_varint_long", "async_varint", ] async_varint_size = [ "async_raw", "async_varint", ] bytes = ["dep:bytes"] comp-full = [ "std-comp", "tokio-comp", ] default = [ "sync_default", "std-comp", ] full = [ "sync_full", "async_full", "comp-full", ] std = [ "alloc", "bytes?/std", ] std-comp = [ "std", "alloc", "sync", ] sync = [] sync_bools = ["sync"] sync_default = [ "sync_varint", "sync_string", ] sync_float_varint = ["sync_varint"] sync_float_varint_long = ["sync_varint_long"] sync_full = [ "sync_bools", "sync_raw", "sync_raw_size", "sync_varint", "sync_varint_size", "sync_varint_long", "sync_varint_long_size", "sync_signed_varint", "sync_signed_varint_size", "sync_signed_varint_long", "sync_signed_varint_long_size", "sync_float_varint", "sync_float_varint_long", "sync_u8_vec", "sync_string", ] sync_raw = ["sync"] sync_raw_size = ["sync_raw"] sync_signed_varint = [ "sync_varint", "zigzag", ] sync_signed_varint_long = [ "sync_varint", "sync_varint_long", "zigzag", ] sync_signed_varint_long_size = [ "sync_varint_long_size", "sync_signed_varint_long", "sync_varint", "zigzag", ] sync_signed_varint_size = [ "sync_varint_size", "sync_signed_varint", "sync_varint", "zigzag", ] sync_string = [ "sync_u8_vec", "alloc", ] sync_u8_vec = [ "sync_varint_size", "alloc", ] sync_varint = ["sync_raw"] sync_varint_long = [ "sync_raw", "sync_varint", ] sync_varint_long_size = [ "sync_raw", "sync_varint_long", "sync_varint", ] sync_varint_size = [ "sync_raw", "sync_varint", ] tokio = ["dep:tokio"] tokio-comp = [ "tokio", "alloc", "async", ] zigzag = [] [badges.maintenance] status = "passively-maintained"