-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the parser code into its own crate for future development
This will inform #46
- Loading branch information
Showing
18 changed files
with
38 additions
and
12 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,13 @@ | ||
[package] | ||
name = "otto-parser" | ||
version = "0.1.0" | ||
authors = ["R. Tyler Croy <[email protected]>"] | ||
edition = "2018" | ||
|
||
[dependencies] | ||
log = "~0.4.11" | ||
otto-models = { path = "../models" } | ||
pest = "~2.1.3" | ||
pest_derive = "~2.1.0" | ||
serde_json = "~1.0.59" | ||
uuid = { version = "~0.8.1", features = ["v4", "serde"]} |
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 @@ | ||
= Otto Parser | ||
|
||
The Otto Parser service is basically a parser engine that speaks HTTP. In the | ||
`src/` directory you will find the `.pest` grammar definition which outlines | ||
the Otto Pipeline syntax. | ||
|
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,13 +1,9 @@ | ||
[package] | ||
name = "otto-parser" | ||
name = "otto-parser-service" | ||
version = "0.1.0" | ||
authors = ["R. Tyler Croy <[email protected]>"] | ||
edition = "2018" | ||
|
||
[lib] | ||
name = "otto_parser" | ||
path = "src/lib.rs" | ||
|
||
[[bin]] | ||
name = "otto-parser" | ||
path = "src/main.rs" | ||
|
@@ -16,8 +12,7 @@ path = "src/main.rs" | |
async-std = { version = "1.6.5", features = ["attributes"]} | ||
log = "~0.4.11" | ||
otto-models = { path = "../../crates/models" } | ||
pest = "~2.1.3" | ||
pest_derive = "~2.1.0" | ||
otto-parser = { path = "../../crates/parser" } | ||
pretty_env_logger = "~0.4.0" | ||
serde_json = "~1.0.59" | ||
tide = "~0.15.0" | ||
|
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