diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-10-20 15:40:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 15:40:20 +0200 |
commit | 783b4da48a457818aac174e0b9b0d6b8f1579778 (patch) | |
tree | 152e4d188f4c7ad253f0bfd4ed23b4f4284cb176 /core | |
parent | 6a9656098671d19b2cbfedfef4db0df6f84735d1 (diff) |
feat(serde_v8): StringOrBuffer (#12503)
Diffstat (limited to 'core')
-rw-r--r-- | core/Cargo.toml | 2 | ||||
-rw-r--r-- | core/lib.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml index 3d2c7d335..c39dbf185 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -24,7 +24,7 @@ pin-project = "1.0.7" rusty_v8 = "0.32.0" serde = { version = "1.0.129", features = ["derive"] } serde_json = { version = "1.0.66", features = ["preserve_order"] } -serde_v8 = "0.15.0" +serde_v8 = { version = "0.15.0", path = "../serde_v8" } url = { version = "2.2.2", features = ["serde"] } [[example]] diff --git a/core/lib.rs b/core/lib.rs index c0419f8ab..889f613df 100644 --- a/core/lib.rs +++ b/core/lib.rs @@ -26,6 +26,7 @@ pub use serde_json; pub use serde_v8; pub use serde_v8::Buffer as ZeroCopyBuf; pub use serde_v8::ByteString; +pub use serde_v8::StringOrBuffer; pub use url; pub use crate::async_cancel::CancelFuture; |