aboutsummaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-02 17:01:04 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-02 17:01:04 +0200
commit6805e184e9d856601305045a0cb0499d2608832a (patch)
treef907c8fe0419f8f4d8defdf6cfeb48f412955d27 /src/db
parent9f0f5b2e372a720a807914747fd48ddc93928e04 (diff)
downloadgarage-6805e184e9d856601305045a0cb0499d2608832a.tar.gz
garage-6805e184e9d856601305045a0cb0499d2608832a.zip
Do not put sled in garage's cargo.toml
Diffstat (limited to 'src/db')
-rw-r--r--src/db/sled_adapter.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/sled_adapter.rs b/src/db/sled_adapter.rs
index b1da1c2b..cf69caba 100644
--- a/src/db/sled_adapter.rs
+++ b/src/db/sled_adapter.rs
@@ -12,6 +12,8 @@ use sled::transaction::{
use crate::{Db, Error, IDb, ITx, ITxFn, Result, TxError, TxFnResult, TxResult, Value, ValueIter};
+pub use sled;
+
impl From<sled::Error> for Error {
fn from(e: sled::Error) -> Error {
Error(format!("{}", e).into())