From fedec79a95df83597aad9391f9695270b20a8623 Mon Sep 17 00:00:00 2001 From: Alex Clarke Date: Fri, 29 Aug 2025 17:31:14 -0600 Subject: [PATCH] refactor: Updated crate to publish properly with the procedural macros --- Cargo.lock | 25 ++++++++++++++++++-- Cargo.toml | 4 ++-- proc_macros/validate_theme_derive/Cargo.toml | 6 +++++ 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 350d80b..acf5a36 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -615,6 +615,17 @@ dependencies = [ "syn 2.0.106", ] +[[package]] +name = "enum_display_style_derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "583f1f514d2754010ff71ed6853068cacbe43cc142cc076aa1b871d9754efc48" +dependencies = [ + "darling", + "quote", + "syn 2.0.106", +] + [[package]] name = "equivalent" version = "1.0.2" @@ -1357,7 +1368,7 @@ dependencies = [ "derive_setters", "deunicode", "dirs-next", - "enum_display_style_derive", + "enum_display_style_derive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "human-panic", "indicatif", "indoc", @@ -1383,7 +1394,7 @@ dependencies = [ "tokio", "tokio-util", "urlencoding", - "validate_theme_derive", + "validate_theme_derive 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "veil", ] @@ -2848,6 +2859,16 @@ dependencies = [ "syn 2.0.106", ] +[[package]] +name = "validate_theme_derive" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "40630259c022600210096da9538abcb992b801e30b464cb9d19f19ef0e0d09b9" +dependencies = [ + "quote", + "syn 2.0.106", +] + [[package]] name = "vcpkg" version = "0.2.15" diff --git a/Cargo.toml b/Cargo.toml index 67bc394..63e3d46 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -66,8 +66,8 @@ deunicode = "1.6.0" paste = "1.0.15" openssl = { version = "0.10.70", features = ["vendored"] } veil = "0.2.0" -validate_theme_derive = { path = "proc_macros/validate_theme_derive" } -enum_display_style_derive = { path = "proc_macros/enum_display_style_derive" } +validate_theme_derive = "0.1.0" +enum_display_style_derive = "0.1.0" [dev-dependencies] assert_cmd = "2.0.16" diff --git a/proc_macros/validate_theme_derive/Cargo.toml b/proc_macros/validate_theme_derive/Cargo.toml index 084f7a4..4f219d0 100644 --- a/proc_macros/validate_theme_derive/Cargo.toml +++ b/proc_macros/validate_theme_derive/Cargo.toml @@ -2,6 +2,12 @@ name = "validate_theme_derive" version = "0.1.0" edition = "2024" +authors = ["Alex Clarke "] +description = "A proc-macro to validate a theme." +license = "MIT" +documentation = "https://github.com/Dark-Alex-17/managarr" +repository = "https://github.com/Dark-Alex-17/managarr" +homepage = "https://github.com/Dark-Alex-17/managarr" [lib] proc-macro = true