# 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 = "2021" name = "const-field-offset-macro" version = "0.1.5" authors = ["Slint Developers "] description = "Procedural macro to generate constant field offset from repr(c) struct" homepage = "https://slint.dev" license = "MIT OR Apache-2.0" repository = "https://github.com/slint-ui/slint" [lib] 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" [features] field-offset-trait = []