From 4e3ed37037a2aa1edeac260dc3463a81d9cf9b88 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Mon, 14 Mar 2022 09:08:54 +0530 Subject: chore: improve build times for `ext/` changes (#13927) --- ext/crypto/lib.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ext/crypto/lib.rs') diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs index f33c25f00..69381e139 100644 --- a/ext/crypto/lib.rs +++ b/ext/crypto/lib.rs @@ -53,7 +53,6 @@ use sha2::Sha256; use sha2::Sha384; use sha2::Sha512; use std::convert::TryFrom; -use std::path::PathBuf; pub use rand; // Re-export rand @@ -890,7 +889,3 @@ pub fn op_crypto_unwrap_key( _ => Err(type_error("Unsupported algorithm")), } } - -pub fn get_declaration() -> PathBuf { - PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("lib.deno_crypto.d.ts") -} -- cgit v1.2.3