bytemuck/derive/Cargo.toml
Christopher Serr b97dee7f90
Switch to syn 2.0 (#183)
This upgrades the derives from `syn` 1.0 to `syn` 2.0. While the MSRV
for `syn` 2.0 is not Rust 1.56 which is higher than the MSRV of
`bytemuck`, the derives don't fall under the MSRV policy.
2023-03-21 13:52:18 -06:00

25 lines
645 B
TOML

[package]
name = "bytemuck_derive"
description = "derive proc-macros for `bytemuck`"
version = "1.4.0"
authors = ["Lokathor <zefria@gmail.com>"]
repository = "https://github.com/Lokathor/bytemuck"
readme = "README.md"
keywords = ["transmute", "bytes", "casting"]
categories = ["encoding", "no-std"]
edition = "2018"
license = "Zlib OR Apache-2.0 OR MIT"
[lib]
name = "bytemuck_derive"
proc-macro = true
[dependencies]
# syn seems to have broken backwards compatibility in this version https://github.com/dtolnay/syn/issues/1194
syn = "2.0.1"
quote = "1"
proc-macro2 = "1"
[dev-dependencies]
bytemuck = { path = "../", features = ["derive"] }