mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
d5634164cb
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)
28 lines
710 B
Rust
28 lines
710 B
Rust
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
mod de;
|
|
mod error;
|
|
mod keys;
|
|
mod magic;
|
|
mod payload;
|
|
mod ser;
|
|
mod serializable;
|
|
pub mod utils;
|
|
|
|
pub use de::from_v8;
|
|
pub use de::from_v8_cached;
|
|
pub use de::to_utf8;
|
|
pub use de::Deserializer;
|
|
pub use error::Error;
|
|
pub use error::Result;
|
|
pub use keys::KeyCache;
|
|
pub use magic::buffer::ZeroCopyBuf;
|
|
pub use magic::bytestring::ByteString;
|
|
pub use magic::detached_buffer::DetachedBuffer;
|
|
pub use magic::string_or_buffer::StringOrBuffer;
|
|
pub use magic::u16string::U16String;
|
|
pub use magic::Global;
|
|
pub use magic::Value;
|
|
pub use ser::to_v8;
|
|
pub use ser::Serializer;
|
|
pub use serializable::Serializable;
|
|
pub use serializable::SerializablePkg;
|