| 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 = "debian-copyright" |
| 15 |
version = "0.1.55" |
| 16 |
authors = ["Jelmer Vernooij <[email protected]>"] |
| 17 |
build = false |
| 18 |
autolib = false |
| 19 |
autobins = false |
| 20 |
autoexamples = false |
| 21 |
autotests = false |
| 22 |
autobenches = false |
| 23 |
description = "A parser for Debian copyright files" |
| 24 |
homepage = "https://github.com/jelmer/debian-parsers" |
| 25 |
readme = "README.md" |
| 26 |
keywords = [ |
| 27 |
"debian", |
| 28 |
"copyright", |
| 29 |
"edit", |
| 30 |
"dep5", |
| 31 |
] |
| 32 |
categories = ["parser-implementations"] |
| 33 |
license = "Apache-2.0" |
| 34 |
repository = "https://github.com/jelmer/debian-parsers" |
| 35 |
|
| 36 |
[badges.maintenance] |
| 37 |
status = "actively-maintained" |
| 38 |
|
| 39 |
[features] |
| 40 |
default = ["lossless"] |
| 41 |
lossless = ["dep:deb822-lossless"] |
| 42 |
|
| 43 |
[lib] |
| 44 |
name = "debian_copyright" |
| 45 |
path = "src/lib.rs" |
| 46 |
|
| 47 |
[[example]] |
| 48 |
name = "license-for-file" |
| 49 |
path = "examples/license-for-file.rs" |
| 50 |
|
| 51 |
[[test]] |
| 52 |
name = "license_expr_reparse" |
| 53 |
path = "tests/license_expr_reparse.rs" |
| 54 |
|
| 55 |
[dependencies.deb822-fast] |
| 56 |
version = ">=0.1, <0.3" |
| 57 |
features = ["derive"] |
| 58 |
|
| 59 |
[dependencies.deb822-lossless] |
| 60 |
version = ">=0.5.16, <0.6" |
| 61 |
optional = true |
| 62 |
|
| 63 |
[dependencies.debversion] |
| 64 |
version = ">=0.4.7, <0.6" |
| 65 |
|
| 66 |
[dependencies.regex] |
| 67 |
version = ">=1.10, <2" |