-
Notifications
You must be signed in to change notification settings - Fork 4
/
Cargo.toml
54 lines (47 loc) · 1.48 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
# See https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "rusty_ulid"
# remember to update html_root_url in src/lib.rs
version = "2.0.0"
description = "Rust ULID (Universally Unique Lexicographically Sortable Identifier) generation and processing"
authors = ["Joern Huxhorn <jhuxhorn@googlemail.com>"]
repository = "https://github.com/huxi/rusty_ulid"
license = "MIT/Apache-2.0"
readme = "README.md"
edition = "2021"
rust-version = "1.74"
keywords = ["ulid", "uuid", "sortable", "identifier"]
categories = [
"data-structures",
"date-and-time",
"encoding",
"parsing",
"value-formatting",
]
[features]
# The default set of optional packages. Most people will want to use these
# packages, but they are strictly optional.
default = ["rand", "time", "serde"]
[dependencies]
rand = { version = "0.8", optional = true }
time = { version = "0.3", optional = true, default-features = false, features = ["std", "formatting"] }
chrono = { version = "0.4", optional = true, default-features = false, features = ["std", "clock"] }
serde = { version = "1", optional = true }
schemars = { version = "0.8", optional = true }
rocket = { version = "0.5", optional = true}
[dev-dependencies]
criterion = "0.5"
doc-comment = "0.3"
serde_test = "1"
# used for schemars test
serde_json = "1.0"
pretty_assertions = "1.2.1"
[[bench]]
name = "my_benchmark"
harness = false
[[test]]
name = "schemars"
required-features = ["schemars"]
[[test]]
name = "rocket"
required-features = ["rocket"]