-
Notifications
You must be signed in to change notification settings - Fork 37
/
Cargo.toml
47 lines (36 loc) · 1.05 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
[package]
name = "ulid"
version = "1.1.3"
authors = ["dylanhart <[email protected]>"]
edition = "2018"
license = "MIT"
readme = "README.md"
description = "a Universally Unique Lexicographically Sortable Identifier implementation"
keywords = ["ulid", "uuid", "sortable", "identifier"]
repository = "https://github.com/dylanhart/ulid-rs"
[features]
default = ["std"]
std = ["rand"]
postgres = ["dep:postgres-types", "dep:bytes"]
[dependencies]
serde = { version = "1.0", optional = true }
rand = { version = "0.8", optional = true }
uuid = { version = "1.1", optional = true }
postgres-types = { version = "0.2.6", optional = true }
bytes = { version = "1.4.0", optional = true }
[target.wasm32-unknown-unknown.dependencies]
getrandom = { version = "0.2", features = ["js"] }
web-time = "1"
[dev-dependencies]
bencher = "0.1"
serde_derive = "1.0"
[target.wasm32-unknown-unknown.dev-dependencies]
wasm-bindgen-test = "0.3"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[workspace]
members = ["cli"]
[package.metadata.docs.rs]
all-features = true