blob: 4e5b0117d39402bd345cead645e4060864e6f098 [file] [log] [blame]
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -07001[package]
2
3name = "nom"
David LeGare061b4982022-03-02 16:21:20 +00004version = "7.1.0"
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -07005authors = [ "contact@geoffroycouprie.com" ]
6description = "A byte-oriented, zero-copy, parser combinators library"
7license = "MIT"
8repository = "https://github.com/Geal/nom"
9readme = "README.md"
10documentation = "https://docs.rs/nom"
11keywords = ["parser", "parser-combinators", "parsing", "streaming", "bit"]
12categories = ["parsing"]
13edition = "2018"
14autoexamples = false
15
16include = [
17 "CHANGELOG.md",
18 "LICENSE",
Chih-Hung Hsiehe0411e22020-10-26 13:10:02 -070019 "README.md",
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070020 ".gitignore",
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070021 "Cargo.toml",
22 "src/*.rs",
23 "src/*/*.rs",
24 "tests/*.rs",
Thiébaud Weksteenf3f7e4e2021-06-21 20:59:32 +020025 "doc/nom_recipes.md",
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070026 "build.rs"
27]
28
29[features]
Joel Galenson9699dff2021-09-23 12:36:57 -070030alloc = []
David LeGare061b4982022-03-02 16:21:20 +000031std = ["alloc", "memchr/std", "minimal-lexical/std"]
Joel Galenson9699dff2021-09-23 12:36:57 -070032default = ["std"]
Thiébaud Weksteenf3f7e4e2021-06-21 20:59:32 +020033docsrs = []
34
David LeGare061b4982022-03-02 16:21:20 +000035[dependencies.minimal-lexical]
36version = "0.2.0"
37default-features = false
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070038
39[dependencies.memchr]
David LeGare061b4982022-03-02 16:21:20 +000040version = "2.3"
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070041default-features = false
42
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070043[dev-dependencies]
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070044doc-comment = "0.3"
Joel Galenson9699dff2021-09-23 12:36:57 -070045proptest = "1.0.0"
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070046
47[build-dependencies]
48version_check = "0.9"
49
50[package.metadata.docs.rs]
Joel Galenson9699dff2021-09-23 12:36:57 -070051features = ["alloc", "std", "docsrs"]
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070052all-features = true
53
54[profile.bench]
55debug = true
56lto = true
57codegen-units = 1
58
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070059[[test]]
60name = "arithmetic"
61
62[[test]]
63name = "arithmetic_ast"
64required-features = ["alloc"]
65
66[[test]]
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070067name = "css"
68
69[[test]]
70name = "custom_errors"
71
72[[test]]
73name = "float"
74
75[[test]]
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070076name = "ini"
77required-features = ["alloc"]
78
79[[test]]
80name = "ini_str"
81required-features = ["alloc"]
82
83[[test]]
84name = "issues"
Thiébaud Weksteenf3f7e4e2021-06-21 20:59:32 +020085required-features = ["alloc"]
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070086
87[[test]]
88name = "json"
89
90[[test]]
91name = "mp4"
92required-features = ["alloc"]
93
94[[test]]
95name = "multiline"
96required-features = ["alloc"]
97
98[[test]]
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -070099name = "overflow"
100
101[[test]]
102name = "reborrow_fold"
103
104[[test]]
Thiébaud Weksteenf3f7e4e2021-06-21 20:59:32 +0200105name = "fnmut"
106required-features = ["alloc"]
107
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -0700108[[example]]
109name = "json"
110required-features = ["alloc"]
111path = "examples/json.rs"
112
David LeGare061b4982022-03-02 16:21:20 +0000113[[example]]
114name = "iterator"
115path = "examples/iterator.rs"
Chih-Hung Hsieh39f74762020-04-07 14:24:02 -0700116
117[[example]]
118name = "s_expression"
119path = "examples/s_expression.rs"
120required-features = ["alloc"]
121
122[[example]]
123name = "string"
124required-features = ["alloc"]
125path = "examples/string.rs"
126
127[badges]
128travis-ci = { repository = "Geal/nom" }
129coveralls = { repository = "Geal/nom", branch = "master", service = "github" }
130maintenance = { status = "actively-developed" }
David LeGare061b4982022-03-02 16:21:20 +0000131
132[workspace]
133members = [".", "benchmarks/"]