summaryrefslogtreecommitdiff
path: root/core/lib.rs
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-09-16 14:28:07 -0400
committerGitHub <noreply@github.com>2020-09-16 14:28:07 -0400
commit104aebdfb5d01f7482bacef6d58c2ce16da44334 (patch)
treeb5f815e9d8cf8fb19eda5d965ef072a5836ae887 /core/lib.rs
parentc3ef358c01956bfa44a7427a2548943c3f045138 (diff)
Re-export deno_core::url (#7525)
Also re-exports deno_core::futures and deno_core::serde_json but these are not yet used in the CLI.
Diffstat (limited to 'core/lib.rs')
-rw-r--r--core/lib.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/lib.rs b/core/lib.rs
index 0dca01691..c0302ff83 100644
--- a/core/lib.rs
+++ b/core/lib.rs
@@ -1,6 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-extern crate futures;
#[macro_use]
extern crate lazy_static;
#[macro_use]
@@ -20,7 +19,11 @@ mod runtime;
mod shared_queue;
mod zero_copy_buf;
+// Re-exports
+pub use futures;
pub use rusty_v8 as v8;
+pub use serde_json;
+pub use url;
pub use crate::flags::v8_set_flags;
pub use crate::module_specifier::ModuleResolutionError;
@@ -49,7 +52,6 @@ pub use crate::runtime::RuntimeOptions;
pub use crate::runtime::Snapshot;
pub use crate::zero_copy_buf::BufVec;
pub use crate::zero_copy_buf::ZeroCopyBuf;
-pub use serde_json;
pub fn v8_version() -> &'static str {
v8::V8::get_version()