[package]
name = "borrowize"
version = "0.3.0"
edition = "2024"
rust-version = "1.85"
authors = ["Lars Kroll <bathtor@googlemail.com>"]
description = "Derive borrowed view structs from owned Rust structs."
documentation = "https://docs.rs/borrowize"
readme = "README.md"
repository = "https://github.com/Bathtor/borrowize"
license = "MIT OR Apache-2.0"
keywords = ["derive", "borrow", "view", "proc-macro"]
categories = ["development-tools", "rust-patterns"]
include = [
"/Cargo.toml",
"/README.md",
"/LICENSE-*",
"/src/**",
"/tests/**",
]
[lib]
proc-macro = true
[dependencies]
nom = "8"
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full", "visit-mut"] }
[dev-dependencies]
trybuild = "1"