diff --git a/Cargo.toml b/Cargo.toml index be4dfb03..e622fb35 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,6 @@ authors = ["Igor Dejanović "] keywords = ["parser", "generator", "LR", "grammar"] categories = ["parsing"] license = "Apache-2.0 OR MIT" -version = "0.1.0" +version = "0.2.0" edition = "2021" rust-version = "1.64" diff --git a/docs/src/parsing/expressions/Cargo.toml b/docs/src/parsing/expressions/Cargo.toml index f4f323b3..ddd35b5d 100644 --- a/docs/src/parsing/expressions/Cargo.toml +++ b/docs/src/parsing/expressions/Cargo.toml @@ -9,8 +9,7 @@ workspace = "../../../.." # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -# Needed by rustemo generated parsers. -rustemo = { path = "../../../../rustemo", version = "0.1" } +rustemo = { path = "../../../../rustemo" } # Default string lexer uses regexes and once_cell to init regexes only once. regex = { version = "1", default_features = false, features = ["std", "unicode-perl"] } @@ -18,4 +17,4 @@ once_cell = "1" colored = "2" [build-dependencies] -rustemo-compiler = { path = "../../../../rustemo-compiler", version = "0.1"} +rustemo-compiler = { path = "../../../../rustemo-compiler" } diff --git a/docs/src/tutorials/calculator/calculator1/Cargo.toml b/docs/src/tutorials/calculator/calculator1/Cargo.toml index dcebb100..4b2cefc4 100644 --- a/docs/src/tutorials/calculator/calculator1/Cargo.toml +++ b/docs/src/tutorials/calculator/calculator1/Cargo.toml @@ -10,7 +10,9 @@ edition = "2021" once_cell = "1" regex = { version = "1.7.1", default-features = false, features = ["std", "unicode-perl"] } colored = "2" -rustemo = { version = "0.1.0", path = "../../../../../rustemo" } +# A relative path to rustemo crate is used here for usage in the rustemo project tree. +# In your projects you should just specify the version. +rustemo = { version = "0.2.0", path = "../../../../../rustemo" } # ANCHOR_END: tutorial [dev-dependencies] diff --git a/docs/src/tutorials/calculator/calculator2/Cargo.toml b/docs/src/tutorials/calculator/calculator2/Cargo.toml index 8df2c0b6..70e10120 100644 --- a/docs/src/tutorials/calculator/calculator2/Cargo.toml +++ b/docs/src/tutorials/calculator/calculator2/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" once_cell = "1" regex = { version = "1.7.1", default-features = false, features = ["std", "unicode-perl"] } colored = "2" -rustemo = { version = "0.1.0", path = "../../../../../rustemo" } +rustemo = { path = "../../../../../rustemo" } [dev-dependencies] # For output_cmp for testing diff --git a/docs/src/tutorials/calculator/calculator3/Cargo.toml b/docs/src/tutorials/calculator/calculator3/Cargo.toml index 79d4f43f..9311637b 100644 --- a/docs/src/tutorials/calculator/calculator3/Cargo.toml +++ b/docs/src/tutorials/calculator/calculator3/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" once_cell = "1" regex = { version = "1.7.1", default-features = false, features = ["std", "unicode-perl"] } colored = "2" -rustemo = { version = "0.1.0", path = "../../../../../rustemo" } +rustemo = { path = "../../../../../rustemo" } [dev-dependencies] # For output_cmp for testing diff --git a/docs/src/tutorials/calculator/calculator4/Cargo.toml b/docs/src/tutorials/calculator/calculator4/Cargo.toml index 2f422eeb..89a7fe18 100644 --- a/docs/src/tutorials/calculator/calculator4/Cargo.toml +++ b/docs/src/tutorials/calculator/calculator4/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" once_cell = "1" regex = { version = "1.7.1", default-features = false, features = ["std", "unicode-perl"] } colored = "2" -rustemo = { version = "0.1.0", path = "../../../../../rustemo" } +rustemo = { path = "../../../../../rustemo" } [dev-dependencies] # For output_cmp for testing diff --git a/docs/src/tutorials/calculator/calculator5/Cargo.toml b/docs/src/tutorials/calculator/calculator5/Cargo.toml index 4d8744dc..90471746 100644 --- a/docs/src/tutorials/calculator/calculator5/Cargo.toml +++ b/docs/src/tutorials/calculator/calculator5/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" once_cell = "1" regex = { version = "1.7.1", default-features = false, features = ["std", "unicode-perl"] } colored = "2" -rustemo = { version = "0.1.0", path = "../../../../../rustemo" } +rustemo = { path = "../../../../../rustemo" } [dev-dependencies] # For output_cmp for testing diff --git a/examples/calculator/Cargo.toml b/examples/calculator/Cargo.toml index 58e9a466..aa8115b3 100644 --- a/examples/calculator/Cargo.toml +++ b/examples/calculator/Cargo.toml @@ -13,7 +13,7 @@ rust-version.workspace = true [dependencies] # Needed by rustemo generated parsers. -rustemo = { path = "../../rustemo", version = "0.1" } +rustemo = { path = "../../rustemo" } # Default string lexer uses regexes and once_cell to init regexes only once. regex = { version = "1", default_features = false, features = ["std", "unicode-perl"] } @@ -22,7 +22,7 @@ colored = "2" [dev-dependencies] # For output_cmp for testing -rustemo-compiler = { path = "../../rustemo-compiler", version = "0.1"} +rustemo-compiler = { path = "../../rustemo-compiler" } [build-dependencies] -rustemo-compiler = { path = "../../rustemo-compiler", version = "0.1"} +rustemo-compiler = { path = "../../rustemo-compiler" } diff --git a/examples/json/Cargo.toml b/examples/json/Cargo.toml index c219b850..755b9bad 100644 --- a/examples/json/Cargo.toml +++ b/examples/json/Cargo.toml @@ -13,7 +13,7 @@ rust-version.workspace = true [dependencies] # Needed by rustemo generated parsers. -rustemo = { path = "../../rustemo", version = "0.1" } +rustemo = { path = "../../rustemo" } # Default string lexer uses regexes and once_cell to init regexes only once. regex = { version = "1", default_features = false, features = ["std", "unicode-perl"] } @@ -22,7 +22,7 @@ colored = "2" [dev-dependencies] # For output_cmp for testing -rustemo-compiler = { path = "../../rustemo-compiler", version = "0.1"} +rustemo-compiler = { path = "../../rustemo-compiler" } [build-dependencies] -rustemo-compiler = { path = "../../rustemo-compiler", version = "0.1"} +rustemo-compiler = { path = "../../rustemo-compiler" } diff --git a/rustemo-compiler/Cargo.toml b/rustemo-compiler/Cargo.toml index f8eb8dd8..d8106301 100644 --- a/rustemo-compiler/Cargo.toml +++ b/rustemo-compiler/Cargo.toml @@ -43,7 +43,7 @@ prettyplease = "0.1.18" colored = "2" # Needed by rustemo generated parsers. -rustemo = { path = "../rustemo", version = "0.1"} +rustemo = { path = "../rustemo", version = "0.2"} # Default string lexer uses regexes and once_cell to init regexes only once. once_cell = { version = "1" }