const-field-offset-macro 0.1.5

Procedural macro to generate constant field offset from repr(c) struct
Documentation
[dependencies.proc-macro2]
version = "1.0"

[dependencies.quote]
version = "1.0"

[dependencies.syn]
features = ["derive"]
version = "2.0"
[dev-dependencies.memoffset]
version = "0.9.0"

[features]
field-offset-trait = []

[lib]
path = "macro.rs"
proc-macro = true

[package]
authors = ["Slint Developers <info@slint.dev>"]
description = "Procedural macro to generate constant field offset from repr(c) struct"
edition = "2021"
homepage = "https://slint.dev"
license = "MIT OR Apache-2.0"
name = "const-field-offset-macro"
repository = "https://github.com/slint-ui/slint"
version = "0.1.5"