-
Notifications
You must be signed in to change notification settings - Fork 19
/
Cargo.toml
50 lines (44 loc) · 1.57 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 = "chomp"
version = "0.3.2+master"
authors = ["Martin Wernstål <[email protected]>"]
description = "A fast monadic-style parser combinator designed to work on stable Rust."
documentation = "http://m4rw3r.github.io/chomp"
homepage = "http://github.com/m4rw3r/chomp"
repository = "http://github.com/m4rw3r/chomp"
readme = "README.md"
keywords = ["parser", "parser-combinators", "parsing", "streaming"]
license = "MIT/Apache-2.0"
build = "build.rs"
include = [
"benches/**/*.rs",
"examples/**/*.rs",
"src/**/*.rs",
"tests/**/*.rs",
".gitignore",
"CHANGELOG.md",
"README.md",
"Cargo.toml",
]
[dependencies]
bitflags = "0.8.2"
conv = { version = "0.3.3" }
either = { version = "1.1.0" }
debugtrace = { version = "0.1.0" }
tendril = { version = "0.2.2", optional = true }
# Technically a dev-dependency, but dev-dependencies are not allowed to be optional,
# compiletest_rs fails to compile on stable and beta
compiletest_rs = { version = "0.2.8", optional = true }
clippy = { version = ">0.0.1", optional = true }
[build-dependencies]
rustc_version = { version = "0.2.1" }
[features]
backtrace = []
default = ["std"]
noop_error = []
std = []
# Feature for running extra (compiletime fail) tests on nightly
unstable = ["compiletest_rs"]
# Feature for travis, so that both noop_error and backtrace can be enabled simultaneously
# without causing parse-errors in the argument parser in travis-cargo.
noop_error_and_backtrace = ["noop_error", "backtrace"]