summaryrefslogtreecommitdiff
path: root/cli/build.rs
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2020-11-14 02:31:57 +0530
committerGitHub <noreply@github.com>2020-11-13 22:01:57 +0100
commitd5661f677e9f5675fc488c4629e85a58764ec3ff (patch)
tree6878ec81e2da2d41d93e3f429a189edcd4202539 /cli/build.rs
parent2c8439bc1e8118225c8ba4d64658c1c6b2182937 (diff)
refactor: deno_crypto op crate (#7956)
This commit factors out "deno_crypto" op crate. "rand" crate dependency was consequently moved to "deno_crypto" crate and reexported.
Diffstat (limited to 'cli/build.rs')
-rw-r--r--cli/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/build.rs b/cli/build.rs
index 657041132..822ccd820 100644
--- a/cli/build.rs
+++ b/cli/build.rs
@@ -20,6 +20,7 @@ fn create_snapshot(
) {
deno_web::init(&mut js_runtime);
deno_fetch::init(&mut js_runtime);
+ deno_crypto::init(&mut js_runtime);
// TODO(nayeemrmn): https://github.com/rust-lang/cargo/issues/3946 to get the
// workspace root.
let display_root = Path::new(env!("CARGO_MANIFEST_DIR")).parent().unwrap();