Skip to content

Commit

Permalink
chore: update prettyplease and add as git submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
bram209 committed May 24, 2024
1 parent ade97c7 commit 9394b6c
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 19 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "prettyplease"]
path = prettyplease
url = https://github.com/bram209/prettyplease.git
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
[workspace]
members = ["printer", "cli", "formatter"]
members = ["printer", "cli", "formatter", "prettyplease"]
resolver = "2"

[workspace.package]
version = "0.1.18"
license = "MIT OR Apache-2.0"

[workspace.dependencies]
leptosfmt-prettyplease = { path = "./prettyplease", version = "0.2.20", features = [
"verbatim",
] }
leptosfmt-formatter = { path = "./formatter", version = "0.1.18" }
leptosfmt-pretty-printer = { version = "0.1.8" }

Expand Down
2 changes: 1 addition & 1 deletion formatter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ description = "view macro formatter for the Leptos web framework"

[dependencies]
leptosfmt-pretty-printer.workspace = true
leptosfmt-prettyplease.workspace = true
rstml = "0.11.2"
syn = { version = "2.0.18", features = ["visit", "full", "extra-traits"] }
leptosfmt-prettyplease = { features = ["verbatim"], version = "0.2.16" }
proc-macro2 = { version = "1.0.68", features = ["span-locations"] }
thiserror = "1.0.40"
crop = "0.3.0"
Expand Down
1 change: 1 addition & 0 deletions prettyplease
Submodule prettyplease added at b62ee4

0 comments on commit 9394b6c

Please sign in to comment.