-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into close-by-drop-on-explicit-close
- Loading branch information
Showing
166 changed files
with
303,549 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
scopegraphs-render-docs/doc/** linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,38 @@ members = [ | |
"scopegraphs", | ||
"scopegraphs-macros", | ||
"scopegraphs-regular-expressions", | ||
"scopegraphs-render-docs", | ||
] | ||
default-members = [ | ||
"scopegraphs", | ||
"scopegraphs-macros", | ||
"scopegraphs-regular-expressions", | ||
"scopegraphs-render-docs", | ||
] | ||
|
||
[workspace.package] | ||
version = "0.3.2" | ||
authors = [ | ||
"Aron Zwaan <[email protected]>", | ||
"Jonathan Dönszelmann <[email protected]>" | ||
] | ||
description = "A well-documented port of scopegraphs to Rust" | ||
license = "MIT OR Apache-2.0" | ||
edition = "2021" | ||
rust-version = "1.75" | ||
repository = "https://github.com/metaborg/rust-scopegraphs" | ||
documentation = "https://docs.rs/scopegraphs" | ||
|
||
[workspace.dependencies] | ||
quote = "1" | ||
syn = "2" | ||
proc-macro2 = "1" | ||
thiserror = "1" | ||
|
||
# note this version should stay lower. | ||
# Scopegraphs is a dev-dependency of scopegraphs-macros, and we deploy scopegraphs macros first. | ||
# By that time, scopegraphs is not yet released at the right version. | ||
scopegraphs = { path = "./scopegraphs", version = "0.3" } | ||
scopegraphs-macros = { path = "./scopegraphs-macros", version = "0.3.2" } | ||
scopegraphs-regular-expressions = { path = "./scopegraphs-regular-expressions", version = "0.3.2" } | ||
scopegraphs-render-docs = { path = "./scopegraphs-render-docs", version = "0.3.2" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
watch-docs: | ||
cargo +nightly watch -s 'cargo +nightly docs-rs -p scopegraphs && browser-sync start --ss target/x86_64-unknown-linux-gnu/doc -s target/x86_64-unknown-linux-gnu/doc --directory --no-open' | ||
|
||
publish: | ||
cargo publish -p scopegraphs-render-docs | ||
sleep 10 | ||
cargo publish -p scopegraphs-regular-expressions | ||
sleep 10 | ||
cargo publish -p scopegraphs-macros | ||
sleep 10 | ||
cargo publish -p scopegraphs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
scopegraphs/examples |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,25 @@ | ||
[package] | ||
name = "scopegraphs-macros" | ||
version = "0.2.9" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
authors = [ | ||
"Aron Zwaan <[email protected]>", | ||
"Jonathan Dönszelmann <[email protected]>" | ||
] | ||
description = "A port of scopegraphs (https://pl.ewi.tudelft.nl/research/projects/scope-graphs/) to Rust" | ||
repository = "https://github.com/metaborg/rust-scopegraphs/" | ||
rust-version = "1.75" | ||
|
||
version.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
authors.workspace = true | ||
description.workspace = true | ||
repository.workspace = true | ||
rust-version.workspace = true | ||
|
||
[lib] | ||
proc-macro = true | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
syn = { version = "2.0.29", features = [] } | ||
quote = "1.0.33" | ||
scopegraphs-regular-expressions = { path = "../scopegraphs-regular-expressions", features = ["dot"], version = "0.2.0" } | ||
proc-macro2 = "1.0.69" | ||
syn.workspace = true | ||
quote.workspace = true | ||
proc-macro2.workspace = true | ||
|
||
scopegraphs-regular-expressions = { workspace = true, features = ["dot"] } | ||
|
||
[dev-dependencies] | ||
scopegraphs = { path = "../scopegraphs" } | ||
scopegraphs.workspace = true | ||
|
||
[features] | ||
dot = ["scopegraphs-regular-expressions/dot"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,18 @@ | ||
[package] | ||
name = "scopegraphs-regular-expressions" | ||
version = "0.2.10" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
authors = [ | ||
"Aron Zwaan <[email protected]>", | ||
"Jonathan Dönszelmann <[email protected]>" | ||
] | ||
description = "A port of scopegraphs (https://pl.ewi.tudelft.nl/research/projects/scope-graphs/) to Rust" | ||
repository = "https://github.com/metaborg/rust-scopegraphs/" | ||
rust-version = "1.75" | ||
version.workspace = true | ||
edition.workspace = true | ||
license.workspace = true | ||
authors.workspace = true | ||
description.workspace = true | ||
repository.workspace = true | ||
rust-version.workspace = true | ||
|
||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
[dependencies] | ||
syn = { version = "2.0.29", default-features = false, features = ["parsing", "derive", "printing", "clone-impls"] } | ||
quote = { version = "1.0.33" } | ||
proc-macro2 = "1.0.69" | ||
thiserror = "1.0.50" | ||
syn.workspace = true | ||
quote.workspace = true | ||
proc-macro2.workspace = true | ||
thiserror.workspace = true | ||
|
||
[features] | ||
dot = [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
**/target | ||
**/*.rs.bk | ||
Cargo.lock | ||
.idea/ | ||
|
||
render-docs |
Oops, something went wrong.