blob: cafaecda3f1c7e87380de6f29f90b3caba69c225 [file] [log] [blame]
Yi Kong3ca66ef2021-03-17 17:53:21 +08001[package]
2authors = [
3 "Ashley Mannix<ashleymannix@live.com.au>",
4 "Christopher Armstrong",
5 "Dylan DPC<dylan.dpc@gmail.com>",
6 "Hunar Roop Kahlon<hunar.roop@gmail.com>"
7]
8categories = [
9 "data-structures",
10 "no-std",
11 "parser-implementations",
12 "wasm"
13]
14description = "A library to generate and parse UUIDs."
15documentation = "https://docs.rs/uuid"
16edition = "2018"
17exclude = [
18 ".github/**",
19 ".travis.yml",
20 "appveyor.yml",
21 "bors.toml"
22]
23keywords = [
24 "guid",
25 "unique",
26 "uuid"
27]
28license = "Apache-2.0 OR MIT"
29homepage = "https://github.com/uuid-rs/uuid"
30name = "uuid"
31readme = "README.md"
32repository = "https://github.com/uuid-rs/uuid"
33version = "0.8.2" # remember to update html_root_url in lib.rs
34
35[package.metadata.docs.rs]
36features = [ "guid", "serde", "slog", "v1", "v3", "v4", "v5" ]
37default-target = "x86_64-pc-windows-msvc"
38
39[package.metadata.playground]
40features = ["serde", "v1", "v3", "v4", "v5"]
41
42[badges.appveyor]
43repository = "uuid-rs/uuid"
44
45[badges.is-it-maintained-issue-resolution]
46repository = "uuid-rs/uuid"
47
48[badges.is-it-maintained-open-issues]
49repository = "uuid-rs/uuid"
50
51[badges.maintenance]
52status = "actively-developed"
53
54[badges.travis-ci]
55repository = "uuid-rs/uuid"
56
57[dependencies.getrandom]
58optional = true
59version = "0.2.0"
60
61[dependencies.md5]
62optional = true
63version = "0.7"
64
65[dependencies.serde]
66default-features = false
67optional = true
68version = "1.0.56"
69
70[dependencies.sha1]
71optional = true
72version = "0.6"
73
74[dependencies.slog]
75optional = true
76version = "2"
77
78[dev-dependencies.bincode]
79version = "1.0"
80
81[dev-dependencies.serde_derive]
82version = "1.0.79"
83
84[dev-dependencies.serde_json]
85version = "1.0"
86
87[dev-dependencies.serde_test]
88version = "1.0.56"
89
90[features]
91default = ["std"]
92guid = ["winapi"]
93std = []
94stdweb = ["getrandom", "getrandom/js"]
95v1 = []
96v3 = ["md5"]
97v4 = ["getrandom"]
98v5 = ["sha1"]
99wasm-bindgen = ["getrandom", "getrandom/js"]
100
101[target.'cfg(windows)'.dependencies.winapi]
102optional = true
103version = "0.3"
104