ref-view 0.1.0

Derive zero-copy reference views for structs and enums
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"
name = "ref-view"
version = "0.1.0"
authors = ["Kould <kould2333@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Derive zero-copy reference views for structs and enums"
documentation = "https://docs.rs/ref-view/latest/ref_view/"
readme = "README.md"
keywords = [
    "derive",
    "macro",
    "view",
    "reference",
    "zero-copy",
]
categories = [
    "development-tools::procedural-macro-helpers",
    "rust-patterns",
]
license = "Apache-2.0"
repository = "https://github.com/KKould/ref-view"

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

[[example]]
name = "basic_struct"
path = "examples/basic_struct.rs"

[[example]]
name = "derive_and_impl_trait"
path = "examples/derive_and_impl_trait.rs"

[[example]]
name = "enum_table_reference"
path = "examples/enum_table_reference.rs"

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

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

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "extra-traits",
]