kinetics 0.15.1

Kinetics is a hosting platform for Rust applications that allows you to deploy all types of workloads by writing **only Rust code**.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::{function::Function, project::Project};
use async_trait::async_trait;
use std::collections::HashMap;

#[async_trait]
pub trait DeployConfig: Send + Sync {
    async fn deploy(
        &self,
        project: &Project,
        secrets: HashMap<String, String>,
        functions: &[Function],
    ) -> eyre::Result<bool>;
    async fn upload(&self, function: &mut Function) -> eyre::Result<bool>;
}