Cargo Features

[dependencies]
hifitime = { version = "4.3.0", default-features = false, features = ["std", "python", "ut1", "lts"] }
default = std

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

std default lts? python? ut1? = serde, serde_derive, web-time

Enables backtrace and std of snafu

python = lts, std, ut1

Enables extension-module of pyo3

pyo3:

Deprecated: use the PYO3_BUILD_EXTENSION_MODULE environment variable when building a Python extension module (set automatically by setuptools-rust and maturin).

Affects hifitime::python

ut1 lts? python? = std, tabled, ureq

Affects epoch::ut1

lts python? = std, ureq, ut1

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.

serde std
serde_derive std
pyo3 python?
tabled ut1?

Enables tabled ^0.20.0

web-time std
ureq lts? ut1?