-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
51 lines (36 loc) · 1.26 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
[package]
name = "mercator_parser"
version = "0.1.0"
authors = ["EPFL-DIAS", "Lionel Sambuc <[email protected]>"]
edition = "2018"
description = "Query Parser for Mercator's own DSL."
#homepage = "https://crates.io/crates/mercator_parser"
repository = "https://github.com/epfl-dias/mercator_parser"
readme = "README.md"
keywords = []
categories = ["database-implementations", "parser-implementations"]
license = "MIT"
#license-file = "LICENSE"
include = ["Cargo.toml", "README.md", "LICENSE", "ACKNOWLEDGEMENTS", "src/**/*.rs"]
build = "build.rs" # LALRPOP preprocessing
[lib]
name = "mercator_parser"
path = "src/lib.rs"
[[bin]]
name = "parser-driver"
path = "src/main.rs"
required-features = ["bin"]
[features]
bin = ["measure_time", "pretty_env_logger"]
[dependencies]
mercator_db = "^0.1"
lalrpop-util = "^0.17"
regex = "^1.2"
# Logging macros API
#log = { version = "^0.4", features = ["max_level_trace", "release_max_level_info"] }
log = { version = "^0.4", features = ["max_level_trace", "release_max_level_trace"] }
# Used for main.rs
pretty_env_logger = { version = "^0.3", optional = true } # Logger implementation
measure_time = { version = "^0.6", optional = true } # To mesure parsing time, only required by binary
[build-dependencies]
lalrpop = "^0.17.1"