Cargo Features

[dependencies]
rusty_ulid = { version = "2.0.0", default-features = false, features = ["rand", "time", "chrono", "serde", "schemars", "rocket"] }
default = rand, serde, time

The default set of optional packages. Most people will want to use these packages, but they are strictly optional.

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.

rand default

Affects rusty_ulid::generate_ulid_string, rusty_ulid::generate_ulid_bytes

time default

Affects rusty_ulid::generate_ulid_string, rusty_ulid::generate_ulid_bytes

chrono implicit feature

Enables chrono

chrono:

Date and time library for Rust

Affects rusty_ulid::generate_ulid_string, rusty_ulid::generate_ulid_bytes

serde default
schemars implicit feature

Enables schemars

schemars:

Generate JSON Schemas from Rust code

rocket implicit feature

Enables rocket

rocket:

Web framework with a focus on usability, security, extensibility, and speed