[package]
name = "combine_wasi"
version = "4.6.6"
authors = ["Markus Westerlind <marwes91@gmail.com>"]
description = "Fast parser combinators on arbitrary streams with zero-copy support."
repository = "https://github.com/Marwes/combine"
documentation = "https://docs.rs/combine"
readme = "README.md"
keywords = ["parser", "parsing", "combinators", "ll"]
categories = ["parsing", "no-std"]
license = "MIT"
edition = "2018"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib]
name = "combine"
path = "src/lib.rs"
[dependencies]
regex = { version = "1", optional = true }
memchr = { version = "2.3", default-features = false }
pin-project-lite = { version = "0.2", optional = true }
tokio-02-dep = { version = "0.2.3", package = "tokio", features = ["io-util"], default-features = false, optional = true }
tokio-03-dep = { version = "0.3", package = "tokio", default-features = false, optional = true }
tokio-dep = { version = "1", package = "tokio", default-features = false, optional = true }
tokio-util = { version = "0.7", features = ["codec"], default-features = false, optional = true }
tokio-wasi-dep = { version = "1", package = "tokio_wasi", default-features = false, optional = true }
tokio-util_wasi = { version = "0.7", features = ["codec"], default-features = false, optional = true }
futures-core-03 = { version = "0.3.1", package = "futures-core", default-features = false, optional = true }
futures-io-03 = { version = "0.3.1", package = "futures-io", default-features = false, optional = true }
bytes_05 = { version = "0.5", package = "bytes", optional = true }
bytes = { version = "1", optional = true }
[dev-dependencies]
async-std = "1"
bytes_05 = { version = "0.5", package = "bytes" }
bytes = "1"
criterion = { version = "0.3", default-features = false }
once_cell = "1.0"
futures-03-dep = { version = "0.3.1", package = "futures" }
tokio-02-dep = { version = "0.2", features = ["fs", "io-driver", "io-util", "macros"], package = "tokio" }
tokio-03-dep = { version = "0.3", features = ["fs", "macros", "rt-multi-thread"], package = "tokio" }
tokio-dep = { version = "1", features = ["fs", "macros", "rt", "rt-multi-thread", "io-util"], package = "tokio" }
partial-io = { version = "0.3", features = ["tokio", "quickcheck"] }
quickcheck = "0.6"
quick-error = "1.0"
[features]
default = ["std"]
mp4 = []
pin-project = ["pin-project-lite"]
tokio-02 = ["pin-project", "std", "tokio-02-dep", "futures-core-03", "pin-project-lite", "bytes_05"]
tokio-03 = ["pin-project", "std", "tokio-03-dep", "futures-core-03", "pin-project-lite"]
tokio = ["tokio-dep", "tokio-util/io", "futures-core-03", "pin-project-lite"]
tokio_wasi = ["tokio-wasi-dep", "tokio-util_wasi/io", "futures-core-03", "pin-project-lite"]
futures-03 = ["pin-project", "std", "futures-core-03", "futures-io-03", "pin-project-lite"]
std = ["memchr/std", "bytes", "alloc"]
alloc = []
[[test]]
name = "async"
required-features = ["tokio-02", "futures-io-03"]
[[bench]]
name = "json"
harness = false
required-features = ["std"]
[[bench]]
name = "http"
harness = false
required-features = ["std"]
[[bench]]
name = "mp4"
harness = false
required-features = ["mp4"]
[[example]]
name = "async"
required-features = ["std", "tokio"]
[[example]]
name = "date"
[[example]]
name = "number"
[[example]]
name = "readme"
[[example]]
name = "ini"
[profile.bench]
lto = true
codegen-units = 1