Skip to content

Commit

Permalink
fix sled storage module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
edezhic committed Dec 23, 2024
1 parent 8b5e312 commit 8bc3190
Show file tree
Hide file tree
Showing 16 changed files with 3 additions and 33 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "prest"
description = "Progressive RESTful framework"
version = "0.4.0"
version = "0.4.1"
edition = "2021"
resolver = "2"
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions host/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ pub use tokio::{
};

#[cfg(feature = "db")]
mod sled_storage;
mod sled;
#[cfg(feature = "db")]
pub(crate) use sled_storage::SharedSledStorage as PersistentStorage;
pub(crate) use sled::SharedSledStorage as PersistentStorage;

state!(RT: PrestRuntime = { PrestRuntime::init() });
state!((crate) IS_REMOTE: bool = { env::var("DEPLOYED_TO_REMOTE").is_ok() });
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
30 changes: 0 additions & 30 deletions host/sled_storage/Cargo.toml

This file was deleted.

0 comments on commit 8bc3190

Please sign in to comment.