1[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] 20keywords = [ 21 "guid", 22 "unique", 23 "uuid" 24] 25license = "Apache-2.0 OR MIT" 26homepage = "https://github.com/uuid-rs/uuid" 27name = "uuid" 28readme = "README.md" 29repository = "https://github.com/uuid-rs/uuid" 30version = "1.3.0" # remember to update html_root_url in lib.rs 31 32[package.metadata.docs.rs] 33rustc-args = ["--cfg", "uuid_unstable"] 34rustdoc-args = ["--cfg", "uuid_unstable"] 35targets = ["x86_64-unknown-linux-gnu"] 36features = ["serde", "arbitrary", "slog", "v1", "v3", "v4", "v5", "v6", "v7", "v8"] 37 38[package.metadata.playground] 39features = ["serde", "v1", "v3", "v4", "v5", "v6", "v7", "v8"] 40 41[badges.is-it-maintained-issue-resolution] 42repository = "uuid-rs/uuid" 43 44[badges.is-it-maintained-open-issues] 45repository = "uuid-rs/uuid" 46 47[badges.maintenance] 48status = "actively-developed" 49 50[features] 51default = ["std"] 52std = [] 53macro-diagnostics = ["uuid-macro-internal"] 54 55# NOTE: When adding new features, check the `ci.yml` workflow .. 56# and include them where necessary (you can follow along with existing features) 57v1 = ["atomic"] 58v3 = ["md5"] 59v4 = ["rng"] 60v5 = ["sha1"] 61v6 = ["atomic"] 62v7 = ["atomic", "rng"] 63v8 = [] 64 65js = ["wasm-bindgen", "getrandom", "getrandom/js"] 66 67rng = ["getrandom"] 68fast-rng = ["rng", "rand"] 69 70sha1 = ["sha1_smol"] 71md5 = ["md-5"] 72 73# Public: Used in trait impls on `Uuid` 74[dependencies.serde] 75default-features = false 76optional = true 77version = "1.0.56" 78 79# Public: Used in trait impls on `Uuid` 80[dependencies.slog] 81optional = true 82version = "2" 83 84# Public: Used in trait impls on `Uuid` 85[dependencies.arbitrary] 86optional = true 87version = "1.1.3" 88 89# Public (unstable): Used in `zerocopy` derive 90# Unstable: also need RUSTFLAGS="--cfg uuid_unstable" to work 91# This feature may break between releases, or be removed entirely before 92# stabilization. 93# See: https://github.com/uuid-rs/uuid/issues/588 94[dependencies.zerocopy] 95optional = true 96version = "0.6" 97 98# Private 99# Don't depend on this optional feature directly: it may change at any time 100# use the `rng` feature instead 101[dependencies.getrandom] 102package = "getrandom" 103optional = true 104version = "0.2" 105 106# Private 107# Don't depend on this optional feature directly: it may change at any time 108# use the `fast-rng` feature instead 109[dependencies.rand] 110package = "rand" 111optional = true 112version = "0.8" 113 114# Private 115# Don't depend on this optional feature directly: it may change at any time 116# Use the `md5` feature instead 117[dependencies.md-5] 118package = "md-5" 119default-features = false 120optional = true 121version = "0.10" 122 123# Private 124# Don't depend on this optional feature directly: it may change at any time 125# Use the `sha1` feature instead 126[dependencies.sha1_smol] 127package = "sha1_smol" 128default-features = false 129optional = true 130version = "1" 131 132# Public: Re-exported 133# Don't depend on this optional feature directly: it may change at any time 134# Use the `macro-diagnostics` feature instead 135[dependencies.uuid-macro-internal] 136package = "uuid-macro-internal" 137version = "1.3.0" 138path = "macros" 139optional = true 140 141[dependencies.atomic] 142package = "atomic" 143default-features = false 144optional = true 145version = "0.5" 146 147[dependencies.wasm-bindgen] 148package = "wasm-bindgen" 149version = "0.2" 150optional = true 151 152[dev-dependencies.bincode] 153version = "1.0" 154 155[dev-dependencies.serde_derive] 156version = "1.0.79" 157 158[dev-dependencies.serde_json] 159version = "1.0" 160 161[dev-dependencies.serde_test] 162version = "1.0.56" 163 164[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen] 165package = "wasm-bindgen" 166version = "0.2" 167 168[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] 169version = "0.3" 170 171[dev-dependencies.trybuild] 172version = "1.0.52" 173 174[dev-dependencies.rustversion] 175version = "1" 176 177[target.'cfg(windows)'.dev-dependencies.windows-sys] 178version = "0.45.0" 179features = ["Win32_System_Com"] 180 181[workspace] 182members = [ 183 "macros" 184] 185