| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
name = "deb822-lossless" |
| 15 |
version = "0.5.18" |
| 16 |
authors = ["Jelmer Vernooij <[email protected]>"] |
| 17 |
build = false |
| 18 |
include = [ |
| 19 |
"bench/Sources", |
| 20 |
"src/*.rs", |
| 21 |
"bench/*.rs", |
| 22 |
"examples/*.rs", |
| 23 |
] |
| 24 |
autolib = false |
| 25 |
autobins = false |
| 26 |
autoexamples = false |
| 27 |
autotests = false |
| 28 |
autobenches = false |
| 29 |
description = "A lossless parser for deb822 files" |
| 30 |
homepage = "https://github.com/jelmer/debian-parsers" |
| 31 |
readme = "README.md" |
| 32 |
keywords = [ |
| 33 |
"debian", |
| 34 |
"deb822", |
| 35 |
"control", |
| 36 |
"rfc822", |
| 37 |
"edit", |
| 38 |
] |
| 39 |
categories = ["parser-implementations"] |
| 40 |
license = "Apache-2.0" |
| 41 |
repository = "https://github.com/jelmer/debian-parsers" |
| 42 |
|
| 43 |
[badges.maintenance] |
| 44 |
status = "actively-maintained" |
| 45 |
|
| 46 |
[features] |
| 47 |
deb822-fast = ["dep:deb822-fast"] |
| 48 |
default = ["serde"] |
| 49 |
python-debian = ["dep:pyo3"] |
| 50 |
serde = ["dep:serde"] |
| 51 |
|
| 52 |
[lib] |
| 53 |
name = "deb822_lossless" |
| 54 |
path = "src/lib.rs" |
| 55 |
|
| 56 |
[[example]] |
| 57 |
name = "error_recovery" |
| 58 |
path = "examples/error_recovery.rs" |
| 59 |
|
| 60 |
[[bench]] |
| 61 |
name = "parse_lossless" |
| 62 |
path = "bench/bench_lossless.rs" |
| 63 |
harness = false |
| 64 |
|
| 65 |
[[bench]] |
| 66 |
name = "parse_lossy" |
| 67 |
path = "bench/bench_lossy.rs" |
| 68 |
harness = false |
| 69 |
|
| 70 |
[dependencies.deb822-fast] |
| 71 |
version = "0.2.0" |
| 72 |
optional = true |
| 73 |
|
| 74 |
[dependencies.pyo3] |
| 75 |
version = ">=0.27, <0.30" |
| 76 |
optional = true |
| 77 |
|
| 78 |
[dependencies.regex] |
| 79 |
version = ">=1, <2" |
| 80 |
|
| 81 |
[dependencies.rowan] |
| 82 |
version = "0.16" |
| 83 |
|
| 84 |
[dependencies.serde] |
| 85 |
version = "1" |
| 86 |
features = ["derive"] |
| 87 |
optional = true |
| 88 |
|
| 89 |
[dev-dependencies.criterion] |
| 90 |
version = ">=0.5, <0.9" |
| 91 |
features = ["html_reports"] |