Cargo Features

[dependencies]
quick-js-dtp = { version = "0.4.2", default-features = false, features = ["patch-bigint", "patch-dateparser", "bigint", "chrono", "log"] }
default = chrono

The chrono feature is set by default whenever quick-js-dtp is added without default-features = false somewhere in the dependency tree.

patch-bigint

Enables patch-bigint of libquickjs-dtp-sys

patch-dateparser

Enables patch-dateparser of libquickjs-dtp-sys

bigint = num-bigint, num-traits

Enables patch-bigint of libquickjs-dtp-sys

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.

chrono default
num-bigint bigint?
num-traits bigint?
log implicit feature

Enables log

log:

A lightweight logging facade for Rust