Skip to content

Commit

Permalink
release: version 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
igordejanovic committed Oct 22, 2023
1 parent 974b504 commit 8762e42
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ authors = ["Igor Dejanović <[email protected]>"]
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"
5 changes: 2 additions & 3 deletions docs/src/parsing/expressions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,12 @@ 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"] }
once_cell = "1"
colored = "2"

[build-dependencies]
rustemo-compiler = { path = "../../../../rustemo-compiler", version = "0.1"}
rustemo-compiler = { path = "../../../../rustemo-compiler" }
4 changes: 3 additions & 1 deletion docs/src/tutorials/calculator/calculator1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion docs/src/tutorials/calculator/calculator2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/src/tutorials/calculator/calculator3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/src/tutorials/calculator/calculator4/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/src/tutorials/calculator/calculator5/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions examples/calculator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand All @@ -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" }
6 changes: 3 additions & 3 deletions examples/json/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand All @@ -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" }
2 changes: 1 addition & 1 deletion rustemo-compiler/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down

0 comments on commit 8762e42

Please sign in to comment.