Cargo Features

[dependencies]
base64uuid = { version = "1.0.0", default-features = false, features = ["creation", "fp-bindgen", "sqlx"] }
default = creation

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

creation default

Enables v4 of uuid

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

fp-bindgen implicit feature

With default features

sqlx implicit feature

Enables macros and runtime-tokio-rustls of sqlx ^0.6

Currently, sqlx does not export the macros without picking a runtime runtime-tokio-rustls can be removed once https://github.com/launchbadge/sqlx/issues/1627 is resolved