diff options
author | Ry Dahl <ry@tinyclouds.org> | 2020-01-05 11:56:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-05 11:56:18 -0500 |
commit | 76e44ddfd0d286335107de28bae06c6f962abf13 (patch) | |
tree | 8c78679dbc702333e0ef585d300e792a9d6b75dd /cli/ops/plugins.rs | |
parent | 5f1df038fb1462607af3555fa7431c05ca484dce (diff) |
Rename crates: 'deno' to 'deno_core' and 'deno_cli' to 'deno' (#3600)
Diffstat (limited to 'cli/ops/plugins.rs')
-rw-r--r-- | cli/ops/plugins.rs | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/cli/ops/plugins.rs b/cli/ops/plugins.rs index eb52b0717..747ea859d 100644 --- a/cli/ops/plugins.rs +++ b/cli/ops/plugins.rs @@ -2,13 +2,17 @@ use super::dispatch_json::{Deserialize, JsonOp, Value}; use crate::fs as deno_fs; use crate::ops::json_op; use crate::state::ThreadSafeState; -use deno::*; +use deno_core::*; use dlopen::symbor::Library; use std::collections::HashMap; use std::ffi::OsStr; use std::sync::Arc; -pub fn init(i: &mut Isolate, s: &ThreadSafeState, r: Arc<deno::OpRegistry>) { +pub fn init( + i: &mut Isolate, + s: &ThreadSafeState, + r: Arc<deno_core::OpRegistry>, +) { let r_ = r; i.register_op( "open_plugin", @@ -52,7 +56,7 @@ struct OpenPluginArgs { } pub fn op_open_plugin( - registry: &Arc<deno::OpRegistry>, + registry: &Arc<deno_core::OpRegistry>, state: &ThreadSafeState, args: Value, _zero_copy: Option<PinnedBuf>, |