From d538e591ef85c2824a3b2140197495a31317957b Mon Sep 17 00:00:00 2001 From: orhun Date: Sat, 24 Jul 2021 20:46:22 +0300 Subject: [PATCH] chore(project): update project details --- Cargo.lock | 40 ++++++++++++++++++++-------------------- Cargo.toml | 4 ++-- src/main.rs | 4 ++-- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b816073..05bf501 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1234,26 +1234,6 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" -[[package]] -name = "oops" -version = "0.1.0" -dependencies = [ - "actix-files", - "actix-multipart", - "actix-rt 2.2.0", - "actix-web", - "byte-unit", - "config", - "dotenv", - "env_logger", - "futures-util", - "infer", - "log", - "petname", - "rand 0.8.4", - "serde 1.0.126", -] - [[package]] name = "opaque-debug" version = "0.3.0" @@ -1552,6 +1532,26 @@ dependencies = [ "semver 0.11.0", ] +[[package]] +name = "rustypaste" +version = "0.1.0" +dependencies = [ + "actix-files", + "actix-multipart", + "actix-rt 2.2.0", + "actix-web", + "byte-unit", + "config", + "dotenv", + "env_logger", + "futures-util", + "infer", + "log", + "petname", + "rand 0.8.4", + "serde 1.0.126", +] + [[package]] name = "ryu" version = "1.0.5" diff --git a/Cargo.toml b/Cargo.toml index 23e00b6..5404939 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [package] -name = "oops" +name = "rustypaste" version = "0.1.0" edition = "2018" -description = "An obscure pastebin server" +description = "A minimal file upload/pastebin service" authors = ["Orhun Parmaksız "] [dependencies] diff --git a/src/main.rs b/src/main.rs index babb08d..7a8ffa8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ use actix_web::middleware::Logger; use actix_web::{App, HttpServer}; -use oops::config::Config; -use oops::server; +use rustypaste::config::Config; +use rustypaste::server; use std::fs; use std::io::Result as IoResult;