Cargo Features
QuickJS has no features set by default.
[dependencies]
quick-js = { version = "0.4.1", features = ["patched", "bigint", "chrono", "log"] }
- patched
-
Enables patched of libquickjs-sys >=0.9.0, <0.10.0
- bigint = num-bigint, num-traits
-
Enables patched of libquickjs-sys >=0.9.0, <0.10.0
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 implicit feature
-
Enables chrono
chrono:
Date and time library for Rust
- num-bigint bigint?
-
Enables num-bigint ^0.2.2
- num-traits bigint?
- log implicit feature
-
Enables log
log:
A lightweight logging facade for Rust