Skip to content

Commit

Permalink
pest_deconstruct -> from-pest
Browse files Browse the repository at this point in the history
examples are removed because I'm redoing the derive as pest-ast next
  • Loading branch information
CAD97 committed Oct 17, 2018
1 parent cb3007d commit 9910610
Show file tree
Hide file tree
Showing 11 changed files with 120 additions and 522 deletions.
39 changes: 5 additions & 34 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,45 +1,16 @@
[workspace]
members = ["derive"]

[package]
name = "pest-deconstruct"
name = "from-pest"
version = "0.2.0"
authors = ["cad97 <[email protected]>"]
readme = "./README.md"
description = "Convert from a pest grammar to a typed AST"
license = "MIT"

[dependencies.pest]
version = "2"
[dependencies]
void = "1.0"

[dependencies.pest-deconstruct-derive]
version = "0.2.0"
path = "./derive/"

# This dependency is for examples only
[dependencies.pest_derive]
[dependencies.pest]
version = "2"
optional = true

[features]
# This feature is for examples only
examples = ["pest_derive"]

[[example]]
name = "simple"
path = "./examples/simple.rs"
required-features = ["pest_derive"]

[[example]]
name = "csv"
path = "./examples/csv.rs"
required-features = ["pest_derive"]

[[example]]
name = "enums"
path = "./examples/enums.rs"
required-features = ["pest_derive"]

[[example]]
name = "parse"
path = "./examples/parse.rs"
required-features = ["pest_derive"]
5 changes: 0 additions & 5 deletions examples/csv.csv

This file was deleted.

3 changes: 0 additions & 3 deletions examples/csv.pest

This file was deleted.

72 changes: 0 additions & 72 deletions examples/csv.rs

This file was deleted.

7 changes: 0 additions & 7 deletions examples/enums.pest

This file was deleted.

59 changes: 0 additions & 59 deletions examples/enums.rs

This file was deleted.

6 changes: 0 additions & 6 deletions examples/parse.pest

This file was deleted.

138 changes: 0 additions & 138 deletions examples/parse.rs

This file was deleted.

3 changes: 0 additions & 3 deletions examples/simple.pest

This file was deleted.

Loading

0 comments on commit 9910610

Please sign in to comment.