objstor 0.4.20

One stop for storing all your data.
Documentation
use objstor::{app, AppConfig};

#[allow(clippy::needless_doctest_main)]
#[tokio::main]
async fn main() {
    let config = AppConfig::from_config("config.yml").await.unwrap();
    trillium_tokio::config()
        .with_port(config.port)
        .with_host(&config.host)
        .run_async(app(config).await)
        .await;
}