-
Notifications
You must be signed in to change notification settings - Fork 19
/
Cargo.toml
57 lines (48 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
[package]
name = "gherkin"
version = "0.14.0"
edition = "2018"
rust-version = "1.73"
description = """\
Pure Rust implementation of Gherkin language (`.feature` file) for \
Cucumber testing framework.\
"""
license = "MIT OR Apache-2.0"
authors = ["Brendan Molloy <[email protected]>"]
documentation = "https://docs.rs/gherkin"
homepage = "https://github.com/cucumber-rs/gherkin"
repository = "https://github.com/cucumber-rs/gherkin"
readme = "README.md"
categories = ["compilers", "parser-implementations"]
keywords = ["gherkin", "cucumber", "cucumber-gherkin", "testing", "bdd"]
include = ["/src/", "/build.rs", "/tests/cucumber.rs", "/LICENSE-*", "/README.md", "/CHANGELOG.md"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["parser"]
# Enables ability to parse AST.
parser = ["dep:typed-builder"]
[dependencies]
peg = "0.6.3"
textwrap = "0.16"
thiserror = "1.0.20"
# "parser" feature dependencies.
typed-builder = { version = "0.20", optional = true }
# "serde" feature enables ability to serialize/deserialize AST.
serde = { version = "1.0.103", features = ["derive"], optional = true }
# "juniper" feature enables ability to use AST as GraphQL types.
juniper = { version = "0.16", default-features = false, optional = true }
[build-dependencies]
heck = "0.5"
quote = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
syn = "2.0"
[dev-dependencies]
cucumber = "0.21"
futures = "0.3.5"
serde_json = "1.0.78"
[[test]]
name = "cucumber"
harness = false