const-field-offset-macro 0.2.0

Procedural macro to generate constant field offsets using core::mem::offset_of!
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"
rust-version = "1.88"
name = "const-field-offset-macro"
version = "0.2.0"
authors = ["Slint Developers <info@slint.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macro to generate constant field offsets using core::mem::offset_of!"
homepage = "https://slint.dev"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/slint-ui/slint"

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

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

[dependencies.quote]
version = "1.0"

[dependencies.syn]
version = "2.0"
features = ["derive"]

[dev-dependencies.memoffset]
version = "0.9.0"