borrowize 0.2.0

Derive borrowed view structs from owned Rust structs.
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 = "borrowize"
version = "0.2.0"
authors = ["Lars Kroll <bathtor@googlemail.com>"]
build = false
include = [
    "/Cargo.toml",
    "/README.md",
    "/LICENSE-*",
    "/src/**",
    "/tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive borrowed view structs from owned Rust structs."
documentation = "https://docs.rs/borrowize"
readme = "README.md"
keywords = [
    "derive",
    "borrow",
    "view",
    "proc-macro",
]
categories = [
    "development-tools",
    "rust-patterns",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Bathtor/borrowize"

[lib]
name = "borrowize"
path = "src/lib.rs"
proc-macro = true

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

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

[dependencies.nom]
version = "8"

[dependencies.proc-macro2]
version = "1"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "visit-mut",
]

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