-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
45 lines (41 loc) · 1.32 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
[package]
name = "xpct"
version = "0.5.1"
description = "An extensible test assertion library"
edition = "2021"
authors = ["Wren Powell <[email protected]>"]
homepage = "https://github.com/lostatc/xpct"
repository = "https://github.com/lostatc/xpct"
documentation = "https://docs.rs/xpct"
readme = "README.md"
license = "MIT"
keywords = ["testing", "assertions", "assert", "matchers"]
categories = ["development-tools", "development-tools::testing"]
# If you update this, update the GitHub Actions workflow as well.
rust-version = "1.70.0"
# We use an attribute when building on docs.rs so we can make use of unstable
# rustdoc features.
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[dependencies]
anyhow = "1.0"
bitflags = "2.3.3"
colored = { version = "2.0", optional = true }
regex = { version = "1.7.0", optional = true }
serde_json = { version = "1.0.91", optional = true }
float-cmp = { version = "0.9.0", optional = true }
unicase = { version = "2.6.0", optional = true }
similar = { version = "2.2.1", optional = true }
[dev-dependencies]
doc-comment = "0.3.3"
[features]
default = ["fmt", "color"]
regex = ["dep:regex"]
json = ["dep:serde_json"]
float = ["dep:float-cmp"]
casefold = ["dep:unicase"]
color = ["dep:colored"]
diff = ["similar"]
unicode-diff = ["diff", "similar/unicode"]
fmt = []