# 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 = "dynbytes"
version = "0.1.0"
description = "A small library abstracting over bytes owning types in an extensible way."
readme = "README.md"
license = "MIT"

[dependencies.bytes]
version = "1.6.0"
features = ["serde"]
optional = true

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

[dev-dependencies.quickcheck]
version = "1.0"

[features]
default = [
    "frombytes",
    "frommmap",
]
frombytes = ["bytes"]
frommmap = ["memmap2"]
