lender 0.5.0

A lending-iterator trait based on higher-rank trait bounds, with full std::iter::Iterator functionality
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.85"
name = "lender"
version = "0.5.0"
authors = [
    "Lance Warden <wanderlanz@proton.me>",
    "Sebastiano Vigna <sebastiano.vigna@unimi.it>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A lending-iterator trait based on higher-rank trait bounds, with full std::iter::Iterator functionality"
readme = "README.md"
keywords = [
    "iterator",
    "lending",
    "fallible",
    "hrtb",
]
categories = [
    "rust-patterns",
    "no-std",
]
license = "Apache-2.0 OR LGPL-2.1-or-later OR MIT"
repository = "https://github.com/WanderLanz/Lender"
resolver = "2"

[features]
default = ["derive"]
derive = ["lender-derive"]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aliasable]
version = "0.1.3"

[dependencies.fallible-iterator]
version = "0.3.0"

[dependencies.lender-derive]
version = "0.1.3"
optional = true

[dependencies.maybe-dangling]
version = "0.1.2"

[dependencies.stable_try_trait_v2]
version = "1.75.1"

[dev-dependencies.trybuild]
version = "1.0.111"