Cargo Features

[dependencies]
atomic-time = { version = "0.1.5", default-features = false, features = ["std", "serde"] }
default = std

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

std default = once_cell

Enables std of portable-atomic

portable-atomic:

Use std.

Affects atomic-time::utils.encode_instant_to_duration, atomic-time::utils.decode_instant_from_duration

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.

once_cell std
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework