Cargo Features

[dependencies]
uuid = { version = "1.13.2", default-features = false, features = ["std", "macro-diagnostics", "v1", "v3", "v4", "v5", "v6", "v7", "v8", "js", "rng", "rng-getrandom", "rng-rand", "fast-rng", "sha1", "md5", "atomic", "borsh", "bytemuck", "serde", "slog", "zerocopy", "arbitrary"] }
default = std

The std feature is set by default whenever uuid is added without default-features = false somewhere in the dependency tree.

std default
macro-diagnostics

Enables uuid-macro-internal

v1 = atomic

NOTE: When adding new features, check the ci.yml workflow and include them where necessary (you can follow along with existing features)

Affects uuid::v1

v3 = md5
v4 = rng
v5 = sha1
v6 = atomic
v7 = rng
v8
js

Enables js-sys and wasm-bindgen

rng fast-rng? rng-getrandom? rng-rand? v4? v7?

Enables getrandom

rng-getrandom = rng, uuid-rng-internal-lib

Enables getrandom, getrandom of uuid-rng-internal

rng-rand = rng, uuid-rng-internal-lib

Enables rand, rand of uuid-rng-internal

fast-rng = rng

Enables rand

sha1 v5?

Enables sha1_smol

md5 v3?

Enables md-5

atomic v1? v6?

Enables atomic

borsh

Enables borsh and borsh-derive

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

bytemuck implicit feature

Enables bytemuck

bytemuck:

A crate for mucking around with piles of bytes

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects uuid::serde

slog implicit feature

Enables slog

slog:

Structured, extensible, composable logging for Rust

zerocopy implicit feature

Enables zerocopy

zerocopy:

Zerocopy makes zero-cost memory manipulation effortless. We write "unsafe" so you don't have to.

uuid-rng-internal-lib wasm32 unknown unknown rng-getrandom? rng-rand?

Enables uuid-rng-internal

arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy