mirror of
https://github.com/Lokathor/bytemuck.git
synced 2024-11-21 22:32:23 +00:00
b97dee7f90
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.
25 lines
645 B
TOML
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"] }
|