non-empty-slice 0.6.0

Non-empty slices.
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 = "2024"
rust-version = "1.95"
name = "non-empty-slice"
version = "0.6.0"
authors = ["nekitdev <nekit@nekit.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Non-empty slices."
documentation = "https://docs.rs/non-empty-slice"
readme = "README.md"
keywords = [
    "non-empty",
    "slice",
    "vec",
]
categories = [
    "no-std",
    "no-std::no-alloc",
    "rust-patterns",
]
license = "MIT"
repository = "https://github.com/nekitdev/non-empty-slice"

[package.metadata.docs.rs]
features = [
    "serde",
    "ownership",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = [
    "serde?/alloc",
    "ownership?/alloc",
    "non-empty-iter/alloc",
]
default = ["std"]
ownership = ["dep:ownership"]
serde = ["dep:serde"]
std = [
    "serde?/std",
    "ownership?/std",
    "non-empty-iter/std",
]
unsafe-assert = []

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

[dependencies.non-empty-iter]
version = "0.3.1"
default-features = false

[dependencies.non-zero-size]
version = "0.2.0"

[dependencies.ownership]
version = "0.3.0"
optional = true
default-features = false

[dependencies.serde]
version = "1.0.228"
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"
default-features = false