Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
[workspace]
members = [".", "enum-display-macro"]

[package]
name = "enum-display"
description = "A macro to derive Display for enums"
keywords = ["enum", "display", "derive", "macro"]
version = "0.1.4"
version = "0.1.5"
edition = "2021"
license = "MIT"
documentation = "https://docs.rs/enum-display"
homepage = "https://github.com/SeedyROM/enum-display"
repository = "https://github.com/SeedyROM/enum-display"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
enum-display-macro = { version = "0.1.4" }
enum-display-macro = { version = "0.1.5", path = "./enum-display-macro" }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had no idea you can use both version and path at the same time!

4 changes: 3 additions & 1 deletion enum-display-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "enum-display-macro"
description = "A macro to derive Display for enums"
keywords = ["enum", "display", "derive", "macro"]
version = "0.1.4"
version = "0.1.5"
edition = "2021"
license = "MIT"
documentation = "https://docs.rs/enum-display/tree/main/enum-display-derive"
Expand All @@ -12,9 +12,11 @@ repository = "https://github.com/SeedyROM/enum-display/tree/main/enum-display-de
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
proc-macro2 = "1.0.95"
convert_case = "0.6.0"
quote = "1.0.21"
syn = { version = "1.0.101", features = ["full"] }
regex = "1.11.1"

[lib]
proc-macro = true
Loading