-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCargo.toml
44 lines (35 loc) · 856 Bytes
/
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
[package]
name = "xid"
version = "1.1.1"
license = "MIT"
description = "Globally unique sortable id generator. A Rust port of https://github.com/rs/xid."
keywords = ["id"]
homepage = "https://github.com/kazk/xid-rs"
repository = "https://github.com/kazk/xid-rs"
readme = "README.md"
authors = ["kazk <kazk.dev@gmail.com>"]
edition = "2018"
exclude = [".github/"]
[dependencies]
crc32fast = "^1"
md5 = "^0.7"
once_cell = "^1"
rand = "^0.8"
thiserror = "^1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
hostname = "^0.3"
[target.'cfg(target_os = "macos")'.dependencies]
sysctl = "^0.4"
[target.'cfg(target_os = "windows")'.dependencies]
winreg = "^0.8"
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "xid_new"
harness = false
[[bench]]
name = "xid_new_to_string"
harness = false
[[bench]]
name = "xid_id_from_str"
harness = false