Skip to content

Commit

Permalink
Reorg and move twust macro to a separate crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Oyelowo committed Jan 17, 2025
1 parent 6acd91f commit 0a35f9c
Show file tree
Hide file tree
Showing 19 changed files with 30 additions and 8 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
workspace.resolver = "2"
members = ["twust-macro", "tailwind"]
members = ["twust", "twust_macro", "tailwind"]


[workspace.package]
Expand All @@ -12,6 +12,7 @@ email = ["[email protected]"]
readme = "README.md"
documentation = "https://docs.rs/nom"
# documentation = "https://codebreather.com/oyelowo"
repository = "https://github.com/Oyelowo/twust"
description = "Zero-config Static type-checker for Tailwind CSS"
license = "MIT/Apache-2.0"
categories = ["UI", "css", "tailwindcss", "web-programming"]
Expand All @@ -34,7 +35,8 @@ keywords = [


[workspace.dependencies]
twust = { path = "twust-macro" }
twust = { path = "twust" }
twust_macro = { path = "twust_macro" }
# tailwind = { path = "tailwind" }

proc-macro2 = "1.0.69"
Expand Down
21 changes: 21 additions & 0 deletions twust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[package]
name = "twust"
version = { workspace = true }
edition = { workspace = true }
authors = { workspace = true }
documentation = { workspace = true }
description = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
readme = { workspace = true }
keywords = { workspace = true }

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

[features]
daisyui = []

[dependencies]
twust_macro = { workspace = true }


11 changes: 5 additions & 6 deletions twust-macro/Cargo.toml → twust_macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
[package]
name = "twust"
name = "twust_macro"
version = { workspace = true }
edition = { workspace = true }
authors = { workspace = true }
# description = { workspace = true }
documentation = { workspace = true }
license = { workspace = true }
repository = "https://github.com/Oyelowo/twust"
description = "Static checker for tailwindcss class names in rust for rust"
readme = "../README.md"
keywords = ["tailwindcss", "tailwind", "css", "leptos", "yew"]
repository = { workspace = true }
description = { workspace = true }
readme = { workspace = true }
keywords = { workspace = true }

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

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0a35f9c

Please sign in to comment.