Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
Cadey Ratio 2020-12-04 14:29:13 -05:00
parent 43b93414a3
commit 913bd420a8
4 changed files with 36 additions and 36 deletions

62
Cargo.lock generated
View File

@ -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"

View File

@ -1,5 +1,5 @@
[package]
name = "wasmcloud_api"
name = "trisiel_api"
version = "0.1.0"
authors = ["Christine Dodrill <me@christine.website>"]
edition = "2018"

View File

@ -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()?;

View File

@ -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!(