| 1 |
[package] |
| 2 |
name = "glib-macros" |
| 3 |
documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib_macros/" |
| 4 |
description = "Rust bindings for the GLib library, proc macros crate" |
| 5 |
keywords = ["glib", "gtk-rs", "gnome", "GUI"] |
| 6 |
authors.workspace = true |
| 7 |
edition.workspace = true |
| 8 |
exclude.workspace = true |
| 9 |
homepage.workspace = true |
| 10 |
license.workspace = true |
| 11 |
repository.workspace = true |
| 12 |
rust-version.workspace = true |
| 13 |
version.workspace = true |
| 14 |
|
| 15 |
[features] |
| 16 |
default = ["proc_macro_crate"] |
| 17 |
proc_macro_crate = ["proc-macro-crate"] |
| 18 |
|
| 19 |
[dependencies] |
| 20 |
heck = "0.5" |
| 21 |
proc-macro2 = "1.0" |
| 22 |
quote = "1.0" |
| 23 |
syn = { version = "2.0.113", features = ["full"] } |
| 24 |
proc-macro-crate = { version = "3.3", optional = true } |
| 25 |
|
| 26 |
[lib] |
| 27 |
proc-macro = true |
| 28 |
|
| 29 |
[dev-dependencies] |
| 30 |
glib.workspace = true |
| 31 |
trybuild = "1" |