-
Notifications
You must be signed in to change notification settings - Fork 29
/
Cargo.toml
55 lines (50 loc) · 2.12 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
[workspace]
members = ["crates/*"]
[package]
name = "predicates"
version = "2.1.5"
description = "An implementation of boolean-valued predicate functions."
authors = ["Nick Stevens <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/assert-rs/predicates-rs"
homepage = "https://github.com/assert-rs/predicates-rs"
documentation = "https://docs.rs/predicates"
readme = "README.md"
categories = ["data-structures", "rust-patterns"]
keywords = ["predicate", "boolean", "combinatorial", "match", "logic"]
edition = "2021"
rust-version = "1.60.0" # MSRV
include = [
"src/**/*",
"Cargo.toml",
"LICENSE*",
"README.md",
"examples/**/*"
]
[package.metadata.release]
pre-release-replacements = [
{file="src/lib.rs", search="predicates = \".*\"", replace="predicates = \"{{version}}\"", exactly=1},
{file="README.md", search="predicates = \".*\"", replace="predicates = \"{{version}}\"", exactly=1},
{file="CHANGELOG.md", search="Unreleased", replace="{{version}}", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
{file="CHANGELOG.md", search="ReleaseDate", replace="{{date}}", min=1},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased] - ReleaseDate\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/{{tag_name}}...HEAD", exactly=1},
]
[dependencies]
predicates-core = { version = "1.0", path = "crates/core" }
difflib = { version = "0.4", optional = true }
normalize-line-endings = { version = "0.3.0", optional = true }
regex = { version="1.0", optional = true }
float-cmp = { version="0.9", optional = true }
itertools = "0.10"
yansi = { version = "0.5.1", optional = true }
concolor = { version = "0.0.11", optional = true }
[dev-dependencies]
predicates-tree = { version = "1.0", path = "crates/tree" }
[features]
default = ["diff", "regex", "float-cmp", "normalize-line-endings"]
diff = ["dep:difflib"]
unstable = []
color = ["dep:yansi", "dep:concolor", "concolor?/std"]
color-auto = ["color", "concolor?/auto"]