Yiyu Lin
19c3e4f6dc
refactor(serde_v8): move to thiserror
, better error output ( #18202 )
...
Ref #17318
---------
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-04-13 02:03:56 +02:00
Heyang Zhou
92ebf4afe5
feat(ext/kv): key-value store ( #18232 )
...
This commit adds unstable "Deno.openKv()" API that allows to open
a key-value database at a specified path.
---------
Co-authored-by: Luca Casonato <hello@lcas.dev>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-03-22 12:13:24 +08:00
Luca Casonato
b99c431ac7
feat(serde_v8): support BigInt serialization ( #18225 )
...
This commit enables serializing `v8::BigInt` to `num_bigint::BigInt`
in Rust.
Pre-requisite for sub upcoming feature work.
2023-03-16 16:59:47 +00:00
Aapo Alasuutari
b56b8c8a75
feat(ext/ffi): Replace pointer integers with v8::External objects ( #16889 )
2023-02-22 19:32:38 +02:00
David Sherret
f5840bdcd3
chore: upgrade to Rust 1.67 ( #17548 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-01-27 10:43:16 -05:00
Divy Srivastava
d5634164cb
chore: use rustfmt imports_granularity option ( #17421 )
...
Closes https://github.com/denoland/deno/issues/2699
Closes https://github.com/denoland/deno/issues/2347
Uses unstable rustfmt features. Since dprint invokes `rustfmt` we do not
need to switch the cargo toolchain to nightly. Do we care about
formatting stability of our codebase across Rust versions? (I don't)
2023-01-14 23:18:58 -05:00
David Sherret
10e4b2e140
chore: update copyright year to 2023 ( #17247 )
...
Yearly tradition of creating extra noise in git.
2023-01-02 21:00:42 +00:00
Ben Noordhuis
b1b418b81a
chore: fix clippy warnings ( #15944 )
...
Stop allowing clippy::derive-partial-eq-without-eq and fix warnings
about deriving PartialEq without also deriving Eq.
In one case I removed the PartialEq because it a) wasn't necessary,
and b) sketchy because it was comparing floating point numbers.
IMO, that's a good argument for enforcing the lint rule, because it
would most likely have been caught during review if it had been enabled.
2022-09-19 10:25:03 +02:00
Arthur Silva
5d263c932f
serde_v8: improvements to avoid hitting unimplemented codepaths ( #13915 )
2022-07-28 12:46:10 +02:00
Aaron O'Mullan
d621ce1cf0
fix(serde_v8): more robust number deserialization ( #14216 )
...
Fixes #14128
2022-04-12 14:36:21 +02:00
Aaron O'Mullan
13b9fc9304
feat(serde_v8): DetachedBuffer ( #14102 )
2022-04-02 13:35:57 +02:00
Aaron O'Mullan
6516130b01
chore: drop src/ in bench_util & serde_v8 ( #14097 )
...
To align with conventions used in our other crates
2022-03-24 11:23:40 +01:00