summaryrefslogtreecommitdiff
path: root/serde_v8/lib.rs
AgeCommit message (Collapse)Author
2023-06-22refactor(serde_v8): split ZeroCopyBuf into JsBuffer and ToJsBuffer (#19566)Bartek Iwańczuk
`ZeroCopyBuf` was convenient to use, but sometimes it did hide details that some copies were necessary in certain cases. Also it made it way to easy for the caller to pass around and convert into different values. This commit splits `ZeroCopyBuf` into `JsBuffer` (an array buffer coming from V8) and `ToJsBuffer` (a Rust buffer that will be converted into a V8 array buffer). As a result some magical conversions were removed (they were never used) limiting the API surface and preparing for changes in #19534.
2023-03-22feat(ext/kv): key-value store (#18232)Heyang Zhou
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-16feat(serde_v8): support BigInt serialization (#18225)Luca Casonato
This commit enables serializing `v8::BigInt` to `num_bigint::BigInt` in Rust. Pre-requisite for sub upcoming feature work.
2023-02-22feat(ext/ffi): Replace pointer integers with v8::External objects (#16889)Aapo Alasuutari
2023-01-14chore: use rustfmt imports_granularity option (#17421)Divy Srivastava
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-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-06-19feat(serde_v8): add serde_v8::Global (#14761)Divy Srivastava
2022-05-15perf(core): optimize encode on large strings (#14619)Aaron O'Mullan
Follow up to serde_v8's #14450
2022-04-25cleanup(serde_v8): disambiguate ZeroCopyBuf (#14380)Aaron O'Mullan
2022-04-02feat(serde_v8): DetachedBuffer (#14102)Aaron O'Mullan
2022-03-24chore: drop src/ in bench_util & serde_v8 (#14097)Aaron O'Mullan
To align with conventions used in our other crates