From 09e41a59e81f0e4858b33f01d94b0340c4e10fec Mon Sep 17 00:00:00 2001 From: Akshay Date: Mon, 24 Aug 2020 20:06:16 +0530 Subject: rename to isostatic --- Cargo.lock | 34 +++++++++++++++++----------------- Cargo.toml | 8 ++++---- readme.md | 6 +++--- src/cli.rs | 2 +- src/service.rs | 4 ++-- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c0016a7..94857c3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -384,23 +384,6 @@ dependencies = [ "autocfg 1.0.1", ] -[[package]] -name = "hedge" -version = "0.1.0" -dependencies = [ - "anyhow", - "hyper", - "lazy_static", - "log", - "multer", - "nanoid", - "pico-args", - "pretty_env_logger", - "rusqlite", - "smol", - "url", -] - [[package]] name = "hermit-abi" version = "0.1.15" @@ -500,6 +483,23 @@ dependencies = [ "libc", ] +[[package]] +name = "isostatic" +version = "0.1.0" +dependencies = [ + "anyhow", + "hyper", + "lazy_static", + "log", + "multer", + "nanoid", + "pico-args", + "pretty_env_logger", + "rusqlite", + "smol", + "url", +] + [[package]] name = "itoa" version = "0.4.6" diff --git a/Cargo.toml b/Cargo.toml index 1f5ecf4..eb83eca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,13 +1,13 @@ [package] -name = "hedge" +name = "isostatic" version = "0.1.0" authors = ["Akshay "] edition = "2018" description = "minimal url shortner" -homepage = "https://github.com/nerdypepper/hedge" -repository = "https://github.com/nerdypepper/hedge" +homepage = "https://github.com/nerdypepper/isostatic" +repository = "https://github.com/nerdypepper/isostatic" readme = "./readme.md" -keywords = [ "url", "server", "url shortner" ] +keywords = [ "url", "server", "url-shortner" ] categories = [ "asynchronous", "compression" ] license = "MIT" diff --git a/readme.md b/readme.md index a6693e6..8851cce 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -### hedge +### isostatic > minimal url shortner @@ -17,7 +17,7 @@ $ nix-build Usage ----- -hedge [-h | --help] [--port ] [--database ] +isostatic [-h | --help] [--port ] [--database ] Options ------- @@ -32,5 +32,5 @@ Options start with ```shell -$ RUST_LOG=hedge=trace hedge +$ RUST_LOG=isostatic=trace isostatic ``` diff --git a/src/cli.rs b/src/cli.rs index e0b745d..79753d4 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -28,7 +28,7 @@ pub static HELP_TEXT: &'static str = " Usage ----- -hedge [-h | --help] [--port ] [--database ] +isostatic [-h | --help] [--port ] [--database ] Options ------- diff --git a/src/service.rs b/src/service.rs index 2908bc8..0e4d01f 100644 --- a/src/service.rs +++ b/src/service.rs @@ -21,9 +21,9 @@ fn welcome(req: Request) -> Response { let host = _h.as_ref().map(|h| h.as_bytes()).unwrap_or(b""); let text = format!( " -This URL shortening service is powered by hedge. +This URL shortening service is powered by isostatic. - github.com/nerdypepper/hedge + github.com/nerdypepper/isostatic To shorten urls: -- cgit v1.2.3