8 unstable releases (3 breaking)
0.4.3 | Nov 25, 2023 |
---|---|
0.4.2 | Oct 31, 2023 |
0.4.0 | Aug 15, 2023 |
0.3.0 | Jul 26, 2023 |
0.1.0 | Feb 9, 2023 |
#5 in #remi
23KB
225 lines
๐ปโโ๏ธ๐งถ remi_core crate
remi_core is the base API that all the supporting libraries are based off. This should only be referenced if you're creating your own storage service.
Example Storage Service
use remi_core::StorageService;
use async_trait::async_trait;
struct MyStorageService;
#[async_trait]
impl StorageService for MyStorageService {
/* omitted implementation */
}
lib.rs
:
๐ปโโ๏ธ๐งถ remi_core
remi_core is the base API implementation that is used by the remi_* crates available to you. This should be only
included in your project if you are creating your own implementation of the StorageService
trait.
Example
use remi_core::{StorageService, EmptyConfig};
use async_trait::async_trait;
struct MyStorageService;
#[async_trait]
impl StorageService<EmptyConfig> for MyStorageService {
/* omitted details */
}
Dependencies
~1.5โ2.2MB
~44K SLoC