Cargo Features

[dependencies]
quickjs-rusty = { version = "0.6.3", default-features = false, features = ["bigint", "patched", "serde", "chrono", "log"] }
default = bigint, chrono, serde

These default features are set whenever quickjs-rusty is added without default-features = false somewhere in the dependency tree.

bigint default = num-bigint, num-traits

Enables patched of libquickjs-ng-sys

Affects utils::create_bigint

patched

Enables patched of libquickjs-ng-sys

serde default = thiserror

Enables serde

Affects quickjs-rusty::serde

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

Affects utils::js_date_constructor, utils::create_date

log implicit feature

Enables log

log:

A lightweight logging facade for Rust

num-bigint bigint
num-traits bigint
thiserror serde

Enables thiserror ^1