Cargo Features

[dependencies]
tagged-id = { version = "0.3.0", default-features = false, features = ["derive", "smartstring", "uuid", "serde", "sqlx-postgres", "sqlx-mysql", "sqlx-sqlite"] }
default = derive

The derive feature is set by default whenever tagged-id is added without default-features = false somewhere in the dependency tree.

derive default = tagged-id-derive

Enables derive of optional serde

serde:

Provide derive(Serialize, Deserialize) macros.

smartstring

Enables smartstring

uuid

Enables uuid

serde

Enables serde, serde of optional smartstring and optional uuid

sqlx-postgres

Enables postgres of sqlx

sqlx-mysql

Enables mysql of sqlx

sqlx-sqlite

Enables sqlite of sqlx

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.

tagged-id-derive derive