diff --git a/Cargo.lock b/Cargo.lock index f37c9f0..b03f549 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2856,6 +2856,37 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079" +[[package]] +name = "trisiel_api" +version = "0.1.0" +dependencies = [ + "blake3", + "chrono", + "color-eyre", + "diesel", + "elfs", + "hex", + "hmac 0.9.0", + "jwt", + "lazy_static", + "raze", + "reqwest", + "rocket", + "rocket_contrib", + "rocket_oauth2", + "rocket_upload", + "serde", + "serde_json", + "sha2 0.9.1", + "thiserror", + "tracing", + "tracing-log", + "tracing-subscriber", + "ureq", + "url 2.1.1", + "uuid", +] + [[package]] name = "try-lock" version = "0.2.3" @@ -3138,37 +3169,6 @@ version = "0.2.68" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307" -[[package]] -name = "wasmcloud_api" -version = "0.1.0" -dependencies = [ - "blake3", - "chrono", - "color-eyre", - "diesel", - "elfs", - "hex", - "hmac 0.9.0", - "jwt", - "lazy_static", - "raze", - "reqwest", - "rocket", - "rocket_contrib", - "rocket_oauth2", - "rocket_upload", - "serde", - "serde_json", - "sha2 0.9.1", - "thiserror", - "tracing", - "tracing-log", - "tracing-subscriber", - "ureq", - "url 2.1.1", - "uuid", -] - [[package]] name = "web-sys" version = "0.3.45" diff --git a/Cargo.toml b/Cargo.toml index ca0e417..75f82ec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "wasmcloud_api" +name = "trisiel_api" version = "0.1.0" authors = ["Christine Dodrill "] edition = "2018" diff --git a/src/bin/api.rs b/src/bin/api.rs index b50e19b..0e18e5e 100644 --- a/src/bin/api.rs +++ b/src/bin/api.rs @@ -7,7 +7,7 @@ use color_eyre::eyre::Result; use rocket_contrib::helmet::SpaceHelmet; use rocket_oauth2::OAuth2; -use ::wasmcloud_api::{api, b2, gitea, jwt, Gitea, MainDatabase}; +use ::trisiel_api::{api, b2, gitea, jwt, Gitea, MainDatabase}; fn main() -> Result<()> { color_eyre::install()?; diff --git a/src/bin/executor.rs b/src/bin/executor.rs index 94eb2d5..1c7ff3a 100644 --- a/src/bin/executor.rs +++ b/src/bin/executor.rs @@ -12,15 +12,15 @@ use std::{ process::{self, Output}, time, }; -use uuid::Uuid; -use wasmcloud_api::api::Error::InternalServerError; -use wasmcloud_api::{ +use trisiel_api::api::Error::InternalServerError; +use trisiel_api::{ api::{ Error::{Database, Impossible, Subcommand}, Result, }, models, schema, MainDatabase, }; +use uuid::Uuid; // Name your user agent after your app? pub static APP_USER_AGENT: &str = concat!(