diff --git a/Cargo.toml b/Cargo.toml index fa7595f1..4efcc9b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] +resolver = "2" members = [ "examples/*", "yarte", @@ -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" } diff --git a/yarte/Cargo.toml b/yarte/Cargo.toml index 91a8e92e..75176c2e 100644 --- a/yarte/Cargo.toml +++ b/yarte/Cargo.toml @@ -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] diff --git a/yarte_codegen/Cargo.toml b/yarte_codegen/Cargo.toml index 6a421b18..0749958d 100644 --- a/yarte_codegen/Cargo.toml +++ b/yarte_codegen/Cargo.toml @@ -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" diff --git a/yarte_derive/Cargo.toml b/yarte_derive/Cargo.toml index 6b20a2b3..eae51a76 100644 --- a/yarte_derive/Cargo.toml +++ b/yarte_derive/Cargo.toml @@ -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" diff --git a/yarte_dom/Cargo.toml b/yarte_dom/Cargo.toml index 1817eb14..0bc04144 100644 --- a/yarte_dom/Cargo.toml +++ b/yarte_dom/Cargo.toml @@ -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" diff --git a/yarte_hir/Cargo.toml b/yarte_hir/Cargo.toml index d099bf7a..dcbf7848 100644 --- a/yarte_hir/Cargo.toml +++ b/yarte_hir/Cargo.toml @@ -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" diff --git a/yarte_lexer/Cargo.toml b/yarte_lexer/Cargo.toml index a8f04e68..0418fdc2 100644 --- a/yarte_lexer/Cargo.toml +++ b/yarte_lexer/Cargo.toml @@ -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" diff --git a/yarte_parser/Cargo.toml b/yarte_parser/Cargo.toml index 5a788143..7bfe7943 100644 --- a/yarte_parser/Cargo.toml +++ b/yarte_parser/Cargo.toml @@ -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"] } diff --git a/yarte_rust/Cargo.toml b/yarte_rust/Cargo.toml index 37655ffc..c2a9dd02 100644 --- a/yarte_rust/Cargo.toml +++ b/yarte_rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "yarte_rust" -version = "0.1.0" +version = "0.0.1" edition = "2021" authors = ["Juan Aguilar Santillana "] description = "Rust expressions parser for yarter" @@ -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"