| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2024" |
| 14 |
rust-version = "1.92" |
| 15 |
name = "glib-macros" |
| 16 |
version = "0.22.0" |
| 17 |
authors = ["The gtk-rs Project Developers"] |
| 18 |
build = false |
| 19 |
exclude = ["gir-files/*"] |
| 20 |
autolib = false |
| 21 |
autobins = false |
| 22 |
autoexamples = false |
| 23 |
autotests = false |
| 24 |
autobenches = false |
| 25 |
description = "Rust bindings for the GLib library, proc macros crate" |
| 26 |
homepage = "https://gtk-rs.org/" |
| 27 |
documentation = "https://gtk-rs.org/gtk-rs-core/stable/latest/docs/glib_macros/" |
| 28 |
readme = false |
| 29 |
keywords = [ |
| 30 |
"glib", |
| 31 |
"gtk-rs", |
| 32 |
"gnome", |
| 33 |
"GUI", |
| 34 |
] |
| 35 |
license = "MIT" |
| 36 |
repository = "https://github.com/gtk-rs/gtk-rs-core" |
| 37 |
|
| 38 |
[features] |
| 39 |
default = ["proc_macro_crate"] |
| 40 |
proc_macro_crate = ["proc-macro-crate"] |
| 41 |
|
| 42 |
[lib] |
| 43 |
name = "glib_macros" |
| 44 |
path = "src/lib.rs" |
| 45 |
proc-macro = true |
| 46 |
|
| 47 |
[[test]] |
| 48 |
name = "clone" |
| 49 |
path = "tests/clone.rs" |
| 50 |
|
| 51 |
[[test]] |
| 52 |
name = "closure" |
| 53 |
path = "tests/closure.rs" |
| 54 |
|
| 55 |
[[test]] |
| 56 |
name = "enum_dynamic" |
| 57 |
path = "tests/enum_dynamic.rs" |
| 58 |
|
| 59 |
[[test]] |
| 60 |
name = "flags_dynamic" |
| 61 |
path = "tests/flags_dynamic.rs" |
| 62 |
|
| 63 |
[[test]] |
| 64 |
name = "object_subclass_dynamic" |
| 65 |
path = "tests/object_subclass_dynamic.rs" |
| 66 |
|
| 67 |
[[test]] |
| 68 |
name = "properties" |
| 69 |
path = "tests/properties.rs" |
| 70 |
|
| 71 |
[[test]] |
| 72 |
name = "test" |
| 73 |
path = "tests/test.rs" |
| 74 |
|
| 75 |
[[test]] |
| 76 |
name = "value_delegate_derive" |
| 77 |
path = "tests/value_delegate_derive.rs" |
| 78 |
|
| 79 |
[dependencies.heck] |
| 80 |
version = "0.5" |
| 81 |
|
| 82 |
[dependencies.proc-macro-crate] |
| 83 |
version = "3.3" |
| 84 |
optional = true |
| 85 |
|
| 86 |
[dependencies.proc-macro2] |
| 87 |
version = "1.0" |
| 88 |
|
| 89 |
[dependencies.quote] |
| 90 |
version = "1.0" |
| 91 |
|
| 92 |
[dependencies.syn] |
| 93 |
version = "2.0.113" |
| 94 |
features = ["full"] |
| 95 |
|
| 96 |
[dev-dependencies.trybuild2] |
| 97 |
version = "1.3" |