diff options
author | Satya Rohith <me@satyarohith.com> | 2022-09-28 17:41:12 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 17:41:12 +0530 |
commit | b312279e58e51520a38e51cca317a09cdadd7cb4 (patch) | |
tree | a0c6f432042ba25b569c151bbe59f1e721788d0c /runtime/build.rs | |
parent | 1156f726a92d3d3985e591327c7526cd3e2b0473 (diff) |
feat: implement Web Cache API (#15829)
Diffstat (limited to 'runtime/build.rs')
-rw-r--r-- | runtime/build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/build.rs b/runtime/build.rs index d45c4a2a8..55a89fb8b 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -8,6 +8,7 @@ use std::path::PathBuf; #[cfg(not(feature = "docsrs"))] mod not_docs { use super::*; + use deno_cache::SqliteBackedCache; use deno_core::Extension; use deno_core::JsRuntime; use deno_core::RuntimeOptions; @@ -175,6 +176,7 @@ mod not_docs { Default::default(), ), deno_fetch::init::<Permissions>(Default::default()), + deno_cache::init::<SqliteBackedCache>(None), deno_websocket::init::<Permissions>("".to_owned(), None, None), deno_webstorage::init(None), deno_crypto::init(None), |