rename
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
43b93414a3
commit
913bd420a8
|
@ -2856,6 +2856,37 @@ version = "0.1.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
|
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]]
|
[[package]]
|
||||||
name = "try-lock"
|
name = "try-lock"
|
||||||
version = "0.2.3"
|
version = "0.2.3"
|
||||||
|
@ -3138,37 +3169,6 @@ version = "0.2.68"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "1d649a3145108d7d3fbcde896a468d1bd636791823c9921135218ad89be08307"
|
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]]
|
[[package]]
|
||||||
name = "web-sys"
|
name = "web-sys"
|
||||||
version = "0.3.45"
|
version = "0.3.45"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "wasmcloud_api"
|
name = "trisiel_api"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Christine Dodrill <me@christine.website>"]
|
authors = ["Christine Dodrill <me@christine.website>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
|
@ -7,7 +7,7 @@ use color_eyre::eyre::Result;
|
||||||
use rocket_contrib::helmet::SpaceHelmet;
|
use rocket_contrib::helmet::SpaceHelmet;
|
||||||
use rocket_oauth2::OAuth2;
|
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<()> {
|
fn main() -> Result<()> {
|
||||||
color_eyre::install()?;
|
color_eyre::install()?;
|
||||||
|
|
|
@ -12,15 +12,15 @@ use std::{
|
||||||
process::{self, Output},
|
process::{self, Output},
|
||||||
time,
|
time,
|
||||||
};
|
};
|
||||||
use uuid::Uuid;
|
use trisiel_api::api::Error::InternalServerError;
|
||||||
use wasmcloud_api::api::Error::InternalServerError;
|
use trisiel_api::{
|
||||||
use wasmcloud_api::{
|
|
||||||
api::{
|
api::{
|
||||||
Error::{Database, Impossible, Subcommand},
|
Error::{Database, Impossible, Subcommand},
|
||||||
Result,
|
Result,
|
||||||
},
|
},
|
||||||
models, schema, MainDatabase,
|
models, schema, MainDatabase,
|
||||||
};
|
};
|
||||||
|
use uuid::Uuid;
|
||||||
|
|
||||||
// Name your user agent after your app?
|
// Name your user agent after your app?
|
||||||
pub static APP_USER_AGENT: &str = concat!(
|
pub static APP_USER_AGENT: &str = concat!(
|
||||||
|
|
Loading…
Reference in New Issue