This repository has been archived by the owner on Dec 18, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
66 lines (58 loc) · 1.52 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[package]
name = "tagua-parser"
version = "0.1.0"
authors = ["Ivan Enderlin <ivan.enderlin@tagua.io>"]
repository = "https://github.com/tagua-vm/parser"
description = "Safe, fast and memory efficient PHP parser (lexical and syntactic analysers)."
readme = "README.md"
keywords = ["php", "parser", "lexical", "syntactics", "analyser"]
license = "BSD-3-Clause"
[lib]
name = "tagua_parser"
path = "source/lib.rs"
test = true
doctest = true
bench = true
doc = true
harness = true
[profile.dev]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 1
[profile.release]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
[profile.test]
opt-level = 0
debug = true
rpath = false
lto = false
debug-assertions = true
codegen-units = 1
[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
[features]
simd = ["bytecount/simd-accel"]
avx = ["bytecount/avx-accel"]
[dependencies]
bytecount = "^0.1"
lazy_static = "^0.2"
memchr = "^1.0"
regex = "^0.2"
smallvec = "^0.4"
nom = {"git" = "https://github.com/Geal/nom", "branch" = "master", "features" = ["regexp", "regexp_macros", "verbose-errors"]}
[dev-dependencies]
quickcheck = "^0.3"
pretty_assertions = "^0.4"