diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-02 17:01:04 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-02 17:01:04 +0200 |
commit | 6805e184e9d856601305045a0cb0499d2608832a (patch) | |
tree | f907c8fe0419f8f4d8defdf6cfeb48f412955d27 /src/db | |
parent | 9f0f5b2e372a720a807914747fd48ddc93928e04 (diff) | |
download | garage-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.rs | 2 |
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()) |