summaryrefslogtreecommitdiff
path: root/ext/kv/proto/mod.rs
diff options
context:
space:
mode:
authorHeyang Zhou <zhy20000919@hotmail.com>2023-08-22 13:56:00 +0800
committerGitHub <noreply@github.com>2023-08-22 13:56:00 +0800
commit6d4a005e4108a5dd762b339a02bc4d802755ba0d (patch)
tree69679038bfbd3127f6c1e1b85dbc347c8c52e36e /ext/kv/proto/mod.rs
parent5834d282d4de5d0b5cacb9bf068f3896bef0a48a (diff)
feat(ext/kv): connect to remote database (#20178)
This patch adds a `remote` backend for `ext/kv`. This supports connection to Deno Deploy and potentially other services compatible with the KV Connect protocol.
Diffstat (limited to 'ext/kv/proto/mod.rs')
-rw-r--r--ext/kv/proto/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/kv/proto/mod.rs b/ext/kv/proto/mod.rs
new file mode 100644
index 000000000..d258a0551
--- /dev/null
+++ b/ext/kv/proto/mod.rs
@@ -0,0 +1,7 @@
+// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
+
+// Generated code, disable lints
+#[allow(clippy::all, non_snake_case)]
+pub mod datapath {
+ include!(concat!(env!("OUT_DIR"), "/datapath.rs"));
+}