anybytes 0.20.2

A small library abstracting over bytes owning types in an extensible way.
Documentation
# 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 = "anybytes"
version = "0.20.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small library abstracting over bytes owning types in an extensible way."
readme = "README.md"
license = "MIT"
repository = "https://github.com/triblespace/anybytes"

[package.metadata.kani.flags]
default-unwind = "1"

[features]
burn = [
    "dep:burn-tensor",
    "bytes",
]
bytes = ["dep:bytes"]
default = [
    "mmap",
    "zerocopy",
]
mmap = ["dep:memmap2"]
ownedbytes = ["dep:ownedbytes"]
pyo3 = ["dep:pyo3"]
winnow = ["dep:winnow"]
zerocopy = ["dep:zerocopy"]

[lib]
name = "anybytes"
path = "src/lib.rs"

[[example]]
name = "byte_area"
path = "examples/byte_area.rs"

[[example]]
name = "from_python"
path = "examples/from_python.rs"
required-features = ["pyo3"]

[[example]]
name = "pyanybytes"
path = "examples/pyanybytes.rs"
required-features = ["pyo3"]

[[example]]
name = "python_winnow"
path = "examples/python_winnow.rs"
required-features = [
    "pyo3",
    "winnow",
]

[[example]]
name = "python_winnow_view"
path = "examples/python_winnow_view.rs"
required-features = [
    "pyo3",
    "winnow",
    "zerocopy",
]

[[example]]
name = "quick_start"
path = "examples/quick_start.rs"

[[example]]
name = "try_unwrap_owner"
path = "examples/try_unwrap_owner.rs"

[[test]]
name = "area"
path = "tests/area.rs"

[[test]]
name = "miri"
path = "tests/miri.rs"

[dependencies.burn-tensor]
version = "0.20.1"
optional = true
default-features = false

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

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

[dependencies.ownedbytes]
version = "0.9.0"
optional = true

[dependencies.page_size]
version = "0.6"

[dependencies.pyo3]
version = "0.25.1"
optional = true

[dependencies.tempfile]
version = "3.20"

[dependencies.winnow]
version = "0.7.12"
optional = true

[dependencies.zerocopy]
version = "0.8.26"
features = ["derive"]
optional = true

[dev-dependencies.proptest]
version = "1.7"

[dev-dependencies.tempfile]
version = "3.20"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(kani)"]