Commit graph

9 commits

Author SHA1 Message Date
9f69e8f5b4 format code 2023-02-05 18:34:00 +01:00
fbb192e4b3 fix clippy lints 2023-02-05 18:22:56 +01:00
Christoph Herzog
5daf2b2527 Implement TryFrom<JsValue> for Vec<T> 2021-02-18 09:20:54 +01:00
Ivan Pavluk
f9eb75785c Add JsValue::Undefined 2020-11-26 10:16:13 +01:00
Rail Khusnutdinov
e1982fc724 impl TryFrom<JsValue> for HashMap<String, V> 2020-03-24 22:14:36 +00:00
Christoph Herzog
870d45fb3d chore: Add _NonExhaustive variant to Value
BREAKING CHANGE : the new variant ensures that we can add new value types
without a semver break in the future.
2019-11-02 23:44:22 +01:00
Christoph Herzog
e039582a72 (feat) Console support
This commit implements console support.

A ConsoleBackend trait can be implemented and registered in the
ContextBuilder.

A implementation that forwards to the `log` crate is available with the
new `log` feature.
2019-10-02 17:28:42 +02:00
Christoph Herzog
10a53ad3af chore: Remove redundant #[cfg] attributes 2019-09-26 18:08:51 +02:00
Alexander Rodin
308686035b feat: Arbitrary Precision Integer Support
Implement support for the arbitrary precision integers feature of
quickjs.

In Rust, values are represented with the num-bignum::BigInt type.
2019-09-26 18:08:06 +02:00