#storage-service #async-trait #traits #remi #api #omitted #my-storage-service

yanked remi-core

๐Ÿปโ€โ„๏ธ๐Ÿงถ Core API for the remi-rs crate families

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

Download history 2/week @ 2024-03-10 21/week @ 2024-03-17 11/week @ 2024-03-24 13/week @ 2024-03-31 1/week @ 2024-04-07 19/week @ 2024-04-28

1,441 downloads per month

MIT license

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

~3MB
~64K SLoC