-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
81 lines (66 loc) · 1.85 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[package]
name = "wildcard"
description = "Wildcard matching"
version = "0.3.1-pre"
authors = ["Diogo Sousa <[email protected]>"]
edition = "2021"
rust-version = "1.62.0"
homepage = "https://github.com/cloudflare/wildcard"
repository = "https://github.com/cloudflare/wildcard"
documentation = "https://docs.rs/wildcard"
readme = "README.md"
keywords = ["wildcard", "matching", "no_std"]
categories = ["text-processing", "algorithms"]
license = "Apache-2.0"
# What to include when packaging.
include = [
"/src/**/*.rs",
"/benches/**/*.rs",
"/testdata/**/*.toml",
"/Cargo.toml",
"/README.md",
"/LICENSE",
"/release-notes.md",
]
[dependencies]
thiserror = { version = "2.0.3", default-features = false }
[dev-dependencies]
criterion = "0.5.1"
quickcheck = "1.0.3"
quickcheck_macros = "1.0.0"
regex = "1.10.5"
serde = "1.0.203"
toml = "0.8.14"
wildmatch = "2.3.4"
[features]
fatal-warnings = []
[lib]
# Disable libtest benchmarks so we can use criterion flags (see https://bheisler.github.io/criterion.rs/book/faq.html
# and https://github.com/rust-lang/rust/issues/47241).
bench = false
[[bench]]
name = "benchmark"
harness = false
path = "benches/benchmark.rs"
[lints.rust]
missing-docs = "warn"
[lints.clippy]
all = { level = "warn", priority = -1 }
correctness = { level = "deny", priority = 1 }
pedantic = { level = "warn", priority = -1 }
explicit-deref-methods = "allow"
if-not-else = "allow"
inline-always = "allow"
match-bool = "allow"
missing-errors-doc = "allow"
missing-safety-doc = "allow"
module-name-repetitions = "allow"
partialeq-ne-impl = "allow"
similar-names = "allow"
single-match-else = "allow"
use-self = "allow"
wildcard-imports = "allow"
[lints.rustdoc]
# TODO This is only needed because `cargo-rdme` requires a path like `crate::⋯`. Once that limitation is lifted we
# can remove this.
redundant-explicit-links = "allow"