rename
This commit is contained in:
Generated
+52
-52
@@ -632,58 +632,6 @@ dependencies = [
|
|||||||
"tower-service",
|
"tower-service",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "backend"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"anyhow",
|
|
||||||
"argon2",
|
|
||||||
"async-trait",
|
|
||||||
"aws-config",
|
|
||||||
"aws-credential-types",
|
|
||||||
"aws-sdk-s3",
|
|
||||||
"axum",
|
|
||||||
"axum-extra",
|
|
||||||
"base64 0.21.7",
|
|
||||||
"bytes",
|
|
||||||
"chrono",
|
|
||||||
"diesel",
|
|
||||||
"diesel_migrations",
|
|
||||||
"dotenv",
|
|
||||||
"envy",
|
|
||||||
"futures-util",
|
|
||||||
"hex",
|
|
||||||
"http-body-util",
|
|
||||||
"hyper 1.7.0",
|
|
||||||
"image",
|
|
||||||
"jsonwebtoken",
|
|
||||||
"mime_guess",
|
|
||||||
"once_cell",
|
|
||||||
"pdfium-render",
|
|
||||||
"percent-encoding",
|
|
||||||
"quick-xml",
|
|
||||||
"rand 0.8.5",
|
|
||||||
"reqwest",
|
|
||||||
"serde",
|
|
||||||
"serde-aux",
|
|
||||||
"serde_bytes",
|
|
||||||
"serde_cbor_2",
|
|
||||||
"serde_json",
|
|
||||||
"sha2",
|
|
||||||
"tempfile",
|
|
||||||
"thiserror 1.0.69",
|
|
||||||
"tokio",
|
|
||||||
"tower 0.4.13",
|
|
||||||
"tower-http",
|
|
||||||
"tracing",
|
|
||||||
"tracing-subscriber",
|
|
||||||
"url",
|
|
||||||
"utoipa",
|
|
||||||
"uuid",
|
|
||||||
"webauthn-rs",
|
|
||||||
"webauthn-rs-core",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "backtrace"
|
name = "backtrace"
|
||||||
version = "0.3.76"
|
version = "0.3.76"
|
||||||
@@ -2350,6 +2298,58 @@ dependencies = [
|
|||||||
"sha2",
|
"sha2",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "papercrate"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"anyhow",
|
||||||
|
"argon2",
|
||||||
|
"async-trait",
|
||||||
|
"aws-config",
|
||||||
|
"aws-credential-types",
|
||||||
|
"aws-sdk-s3",
|
||||||
|
"axum",
|
||||||
|
"axum-extra",
|
||||||
|
"base64 0.21.7",
|
||||||
|
"bytes",
|
||||||
|
"chrono",
|
||||||
|
"diesel",
|
||||||
|
"diesel_migrations",
|
||||||
|
"dotenv",
|
||||||
|
"envy",
|
||||||
|
"futures-util",
|
||||||
|
"hex",
|
||||||
|
"http-body-util",
|
||||||
|
"hyper 1.7.0",
|
||||||
|
"image",
|
||||||
|
"jsonwebtoken",
|
||||||
|
"mime_guess",
|
||||||
|
"once_cell",
|
||||||
|
"pdfium-render",
|
||||||
|
"percent-encoding",
|
||||||
|
"quick-xml",
|
||||||
|
"rand 0.8.5",
|
||||||
|
"reqwest",
|
||||||
|
"serde",
|
||||||
|
"serde-aux",
|
||||||
|
"serde_bytes",
|
||||||
|
"serde_cbor_2",
|
||||||
|
"serde_json",
|
||||||
|
"sha2",
|
||||||
|
"tempfile",
|
||||||
|
"thiserror 1.0.69",
|
||||||
|
"tokio",
|
||||||
|
"tower 0.4.13",
|
||||||
|
"tower-http",
|
||||||
|
"tracing",
|
||||||
|
"tracing-subscriber",
|
||||||
|
"url",
|
||||||
|
"utoipa",
|
||||||
|
"uuid",
|
||||||
|
"webauthn-rs",
|
||||||
|
"webauthn-rs-core",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "parking_lot"
|
name = "parking_lot"
|
||||||
version = "0.12.5"
|
version = "0.12.5"
|
||||||
|
|||||||
+20
-1
@@ -1,5 +1,5 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "backend"
|
name = "papercrate"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
@@ -68,3 +68,22 @@ once_cell = "1.19"
|
|||||||
hyper = "1.2"
|
hyper = "1.2"
|
||||||
http-body-util = "0.1"
|
http-body-util = "0.1"
|
||||||
webauthn-rs-core = "0.5"
|
webauthn-rs-core = "0.5"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "backend"
|
||||||
|
path = "src/main.rs"
|
||||||
|
[[bin]]
|
||||||
|
name = "worker"
|
||||||
|
path = "src/bin/worker.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "webdav"
|
||||||
|
path = "src/bin/webdav.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "admin"
|
||||||
|
path = "src/bin/admin.rs"
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
name = "openapi-dump"
|
||||||
|
path = "src/bin/openapi_dump.rs"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ use diesel::{dsl::exists, prelude::*, select};
|
|||||||
use reqwest::{Client, Method, StatusCode};
|
use reqwest::{Client, Method, StatusCode};
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
use backend::{
|
use papercrate::{
|
||||||
config::AppConfig,
|
config::AppConfig,
|
||||||
db::{self, PgPool},
|
db::{self, PgPool},
|
||||||
documents::search::ensure_quickwit_index,
|
documents::search::ensure_quickwit_index,
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
use backend::openapi::ApiDoc;
|
use papercrate::openapi::ApiDoc;
|
||||||
use utoipa::OpenApi;
|
use utoipa::OpenApi;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ use std::net::SocketAddr;
|
|||||||
use tokio::net::TcpListener;
|
use tokio::net::TcpListener;
|
||||||
use tower::make::Shared;
|
use tower::make::Shared;
|
||||||
|
|
||||||
use backend::{routes::webdav, utils::bootstrap::init_component};
|
use papercrate::{routes::webdav, utils::bootstrap::init_component};
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> anyhow::Result<()> {
|
async fn main() -> anyhow::Result<()> {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ use std::time::Duration;
|
|||||||
|
|
||||||
use tokio::signal;
|
use tokio::signal;
|
||||||
|
|
||||||
use backend::{default_handlers, utils::bootstrap::init_component, Worker};
|
use papercrate::{default_handlers, utils::bootstrap::init_component, Worker};
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> anyhow::Result<()> {
|
async fn main() -> anyhow::Result<()> {
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ use std::net::SocketAddr;
|
|||||||
use tokio::net::TcpListener;
|
use tokio::net::TcpListener;
|
||||||
use tower::make::Shared;
|
use tower::make::Shared;
|
||||||
|
|
||||||
use backend::{routes, utils::bootstrap::init_component};
|
use papercrate::{routes, utils::bootstrap::init_component};
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() -> anyhow::Result<()> {
|
async fn main() -> anyhow::Result<()> {
|
||||||
|
|||||||
Reference in New Issue
Block a user