forked from drmingdrmer/validit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (33 loc) · 1.23 KB
/
Cargo.toml
File metadata and controls
47 lines (33 loc) · 1.23 KB
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
[package]
name = "validit"
readme = "README.md"
version = "0.2.5"
edition = "2024"
authors = [
"Zhang Yanpo <drdr.xp@gmail.com>",
]
categories = ["algorithms", "data-structures"]
description = "Validate data structures internal state"
documentation = "https://docs.rs/validit"
homepage = "https://github.com/drmingdrmer/validit"
keywords = ["validation"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/drmingdrmer/validit"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyerror = { version = "0.1.10", optional = true }
[features]
default = ["macros"]
# Enable macros such as `less!(a,b)`
macros = ["dep:anyerror"]
# Enable backtrace when generating an error.
# Stable rust does not support backtrace.
backtrace = ["anyerror/backtrace"]
# Enable benchmark
bench = []
[package.metadata.docs.rs]
# Enable this flag to show all types/mods, including the feature enabled ones on docs.rs
all-features = true
# Sort modules by appearance order for crate `docs`.
# https://doc.rust-lang.org/rustdoc/unstable-features.html#--sort-modules-by-appearance-control-how-items-on-module-pages-are-sorted
rustdoc-args = ["-Z", "unstable-options", "--sort-modules-by-appearance"]