# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "segsource"
version = "0.2.0"
description = "A library to make reading data of any type quicker and easier."
homepage = "https://github.com/russells-crockpot/segsource"
documentation = "https://docs.rs/segsource/"
readme = "../README.md"
keywords = ["data", "binary", "memory-mapped", "bytes", "io"]
categories = ["no-std", "parsing", "data-structures", "filesystem"]
license = "MIT"
repository = "https://github.com/russells-crockpot/segsource"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies.async-trait]
version = "0.1"
optional = true

[dependencies.bytes]
version = "1"
optional = true

[dependencies.fs3]
version = "0.5"
optional = true

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.memmap2]
version = "0.3"
optional = true

[dependencies.pin-project-lite]
version = "0.2"
optional = true

[dependencies.segsource-derive]
version = "0.2.0"
optional = true

[dependencies.snafu]
version = "0.6"
default-features = false

[dependencies.tokio]
version = "1"
features = ["fs", "io-util", "rt"]
optional = true
[dev-dependencies.color-backtrace]
version = "0.5"

[dev-dependencies.ctor]
version = "0.1"

[features]
async = ["tokio", "async-trait", "pin-project-lite", "futures-core", "std"]
default = ["derive", "std"]
derive = ["segsource-derive"]
memmap = ["fs3", "memmap2", "std"]
std = ["snafu/std"]
with_bytes = ["bytes", "std"]
