# 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 = "2018"
rust-version = "1.71"
name = "borrowme"
version = "0.1.0"
authors = ["John-John Tedro <udoprog@tedro.se>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The missing compound borrowing for Rust."
homepage = "https://github.com/udoprog/borrowme"
documentation = "https://docs.rs/borrowme"
readme = "README.md"
keywords = [
    "borrow",
    "lifetime",
    "macros",
]
categories = [
    "development-tools",
    "no-std",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/udoprog/borrowme"

[features]
default = ["std"]
std = []

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.borrowme-macros]
version = "=0.1.0"

[dev-dependencies.serde]
version = "1.0.160"
features = ["derive"]

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