generated from volo-rs/.github
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from junhaideng/main
feat: remove async-trait and update deps
- Loading branch information
Showing
9 changed files
with
264 additions
and
227 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 +1,6 @@ | ||
[package] | ||
name = "static-graph" | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
edition = "2021" | ||
authors = ["Volo Team <[email protected]>"] | ||
description = "Generate static parallel computation graph from DSL at compile time" | ||
|
@@ -12,11 +12,10 @@ repository = "https://github.com/volo-rs/static-graph" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
async-trait = "0.1" | ||
arc-swap = "1" | ||
faststr = "0.2" | ||
fxhash = "0.2" | ||
heck = "0.4" | ||
heck = "0.5" | ||
nom = "7" | ||
proc-macro2 = "1" | ||
quote = "1" | ||
|
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,10 +1,12 @@ | ||
fn main() { | ||
static_graph::configure() | ||
.file_name("example.rs") | ||
.enable_mermaid(true) | ||
.compile("./graphs/example.graph") | ||
.unwrap(); | ||
static_graph::configure() | ||
.file_name("parallel.rs") | ||
.enable_mermaid(true) | ||
.compile("./graphs/parallel.graph") | ||
.unwrap(); | ||
} |
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 |
---|---|---|
|
@@ -16,4 +16,13 @@ node O { | |
o: string, | ||
} | ||
|
||
node A -> B{ | ||
|
||
} | ||
|
||
node B { | ||
|
||
} | ||
|
||
graph G(E) | ||
graph H(A) |
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
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