summaryrefslogtreecommitdiff
path: root/ext/kv/config.rs
diff options
context:
space:
mode:
authorhaturau <135221985+haturatu@users.noreply.github.com>2024-11-20 01:20:47 +0900
committerGitHub <noreply@github.com>2024-11-20 01:20:47 +0900
commit85719a67e59c7aa45bead26e4942d7df8b1b42d4 (patch)
treeface0aecaac53e93ce2f23b53c48859bcf1a36ec /ext/kv/config.rs
parent67697bc2e4a62a9670699fd18ad0dd8efc5bd955 (diff)
parent186b52731c6bb326c4d32905c5e732d082e83465 (diff)
Merge branch 'denoland:main' into main
Diffstat (limited to 'ext/kv/config.rs')
-rw-r--r--ext/kv/config.rs21
1 files changed, 11 insertions, 10 deletions
diff --git a/ext/kv/config.rs b/ext/kv/config.rs
index 6e2e2c3a1..7166bcbcc 100644
--- a/ext/kv/config.rs
+++ b/ext/kv/config.rs
@@ -1,16 +1,17 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
+#[derive(Clone, Copy, Debug)]
pub struct KvConfig {
- pub(crate) max_write_key_size_bytes: usize,
- pub(crate) max_read_key_size_bytes: usize,
- pub(crate) max_value_size_bytes: usize,
- pub(crate) max_read_ranges: usize,
- pub(crate) max_read_entries: usize,
- pub(crate) max_checks: usize,
- pub(crate) max_mutations: usize,
- pub(crate) max_watched_keys: usize,
- pub(crate) max_total_mutation_size_bytes: usize,
- pub(crate) max_total_key_size_bytes: usize,
+ pub max_write_key_size_bytes: usize,
+ pub max_read_key_size_bytes: usize,
+ pub max_value_size_bytes: usize,
+ pub max_read_ranges: usize,
+ pub max_read_entries: usize,
+ pub max_checks: usize,
+ pub max_mutations: usize,
+ pub max_watched_keys: usize,
+ pub max_total_mutation_size_bytes: usize,
+ pub max_total_key_size_bytes: usize,
}
impl KvConfig {