summaryrefslogtreecommitdiff
path: root/ext/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'ext/crypto')
-rw-r--r--ext/crypto/Cargo.toml2
-rw-r--r--ext/crypto/lib.rs2
2 files changed, 1 insertions, 3 deletions
diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml
index 9d2f6923b..b66911b1b 100644
--- a/ext/crypto/Cargo.toml
+++ b/ext/crypto/Cargo.toml
@@ -4,7 +4,7 @@
name = "deno_crypto"
version = "0.37.0"
authors = ["the Deno authors"]
-edition = "2018"
+edition = "2021"
license = "MIT"
readme = "README.md"
repository = "https://github.com/denoland/deno"
diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs
index d5f95677a..2170e3c72 100644
--- a/ext/crypto/lib.rs
+++ b/ext/crypto/lib.rs
@@ -14,8 +14,6 @@ use serde::Deserialize;
use serde::Serialize;
use std::cell::RefCell;
-use std::convert::TryFrom;
-use std::convert::TryInto;
use std::num::NonZeroU32;
use std::rc::Rc;