Skip to content

Commit

Permalink
chore: use workspace dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
zzau13 committed Jul 29, 2023
1 parent a473233 commit 2198170
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 16 deletions.
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"examples/*",
"yarte",
Expand All @@ -11,3 +12,12 @@ members = [
"yarte_rust",
"yarte_strnom",
]
[workspace.dependencies]
yarte_codegen = { path = "yarte_codegen", version = "0.15.7" }
yarte_derive = { path = "yarte_derive", version = "0.15.6" }
yarte_helpers = { path = "yarte_helpers", version = "0.15.8" }
yarte_hir = { path = "yarte_hir", version = "0.15.6" }
yarte_parser = { path = "yarte_parser", version = "0.15.2" }
yarte_lexer = { path = "yarte_lexer", version = "0.0.1" }
yarte_rust = { path = "yarte_rust", version = "0.0.1" }
yarte_strnom = { path = "yarte_strnom", version = "0.0.1" }
4 changes: 2 additions & 2 deletions yarte/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ json = ["yarte_helpers/json", "yarte_derive/json", "bytes-buf"]
bytes-buf = ["buf-min", "yarte_helpers/bytes-buf", "yarte_derive/bytes-buf"]

[dependencies]
yarte_derive = { version = "~0.15.4", path = "../yarte_derive" }
yarte_helpers = { version = "~0.15.1", path = "../yarte_helpers" }
yarte_derive = { workspace = true }
yarte_helpers = { workspace = true }
buf-min = { version = "0.7", optional = true }

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions yarte_codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ maintenance = { status = "actively-developed" }
bytes-buf = []

[dependencies]
yarte_helpers = { version = "~0.15.1", path = "../yarte_helpers" }
yarte_hir = { version = "~0.15.3", path = "../yarte_hir" }
yarte_helpers = { workspace = true }
yarte_hir = { workspace = true }

proc-macro2 = "1.0"
quote = "1.0"
Expand Down
9 changes: 5 additions & 4 deletions yarte_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ bytes-buf = ["yarte_codegen/bytes-buf"]
json = ["v_jsonescape", "yarte_helpers/json"]

[dependencies]
yarte_codegen = { version = "~0.15.3", path = "../yarte_codegen" }
yarte_helpers = { version = "~0.15.1", path = "../yarte_helpers" }
yarte_hir = { version = "~0.15.3", path = "../yarte_hir" }
yarte_parser = { version = "~0.15.0", path = "../yarte_parser" }
yarte_codegen = { workspace = true }
yarte_helpers = { workspace = true }
yarte_hir = { workspace = true }
yarte_parser = { workspace = true }

v_jsonescape = { version = "0.7", optional = true }

proc-macro2 = "1.0"
Expand Down
4 changes: 2 additions & 2 deletions yarte_dom/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ maintenance = { status = "actively-developed" }
wasm-app = ["yarte_hir/wasm-app"]

[dependencies]
yarte_hir = { version = "0.15.0", path = "../yarte_hir" }
yarte_helpers = { version = "0.15.0", path = "../yarte_helpers" }
yarte_hir = { workspace = true }
yarte_helpers = { workspac = true }

markup5ever = "0.11"

Expand Down
4 changes: 2 additions & 2 deletions yarte_hir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ wasm-app = []
deser = ["serde"]

[dependencies]
yarte_helpers = { version = "~0.15.1", path = "../yarte_helpers" }
yarte_parser = { version = "~0.15.0", path = "../yarte_parser" }
yarte_helpers = { workspace = true }
yarte_parser = { workspace = true }

v_eval = "0.6"
v_htmlescape = "0.15"
Expand Down
2 changes: 1 addition & 1 deletion yarte_lexer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ travis-ci = { repository = "botika/yarte", branch = "master" }
maintenance = { status = "actively-developed" }

[dependencies]
yarte_strnom = { version = "0.0", path = '../yarte_strnom' }
yarte_strnom = { workspace = true }

# TODO: remove syn libraries
quote = "1.0"
Expand Down
2 changes: 1 addition & 1 deletion yarte_parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ travis-ci = { repository = "botika/yarte", branch = "master" }
maintenance = { status = "actively-developed" }

[dependencies]
yarte_helpers = { version = "0.15.0", path = "../yarte_helpers" }
yarte_helpers = { workspace = true }

quote = "1.0"
syn = { version = "1.0", features = ["full", "extra-traits"] }
Expand Down
4 changes: 2 additions & 2 deletions yarte_rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "yarte_rust"
version = "0.1.0"
version = "0.0.1"
edition = "2021"
authors = ["Juan Aguilar Santillana <[email protected]>"]
description = "Rust expressions parser for yarter"
Expand All @@ -17,7 +17,7 @@ unicode-ident = "1.0"
serde = { version = "1.0", features = ["derive"] }
thiserror = "1.0"

yarte_strnom = { path = "../yarte_strnom", version = "~0.0.1" }
yarte_strnom = { workspace = true }

[dev-dependencies]
ron = "0.8"
Expand Down

0 comments on commit 2198170

Please sign in to comment.