aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2020-08-24 15:36:16 +0100
committerAkshay <[email protected]>2020-08-24 15:36:16 +0100
commit09e41a59e81f0e4858b33f01d94b0340c4e10fec (patch)
tree77966165da3873eb5bcc6d52383feea3ee295873
parent1769baea084b9e414bfd8e24e942d119d8653348 (diff)
rename to isostaticv0.1.0
-rw-r--r--Cargo.lock34
-rw-r--r--Cargo.toml8
-rw-r--r--readme.md6
-rw-r--r--src/cli.rs2
-rw-r--r--src/service.rs4
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
@@ -385,23 +385,6 @@ dependencies = [
385] 385]
386 386
387[[package]] 387[[package]]
388name = "hedge"
389version = "0.1.0"
390dependencies = [
391 "anyhow",
392 "hyper",
393 "lazy_static",
394 "log",
395 "multer",
396 "nanoid",
397 "pico-args",
398 "pretty_env_logger",
399 "rusqlite",
400 "smol",
401 "url",
402]
403
404[[package]]
405name = "hermit-abi" 388name = "hermit-abi"
406version = "0.1.15" 389version = "0.1.15"
407source = "registry+https://github.com/rust-lang/crates.io-index" 390source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -501,6 +484,23 @@ dependencies = [
501] 484]
502 485
503[[package]] 486[[package]]
487name = "isostatic"
488version = "0.1.0"
489dependencies = [
490 "anyhow",
491 "hyper",
492 "lazy_static",
493 "log",
494 "multer",
495 "nanoid",
496 "pico-args",
497 "pretty_env_logger",
498 "rusqlite",
499 "smol",
500 "url",
501]
502
503[[package]]
504name = "itoa" 504name = "itoa"
505version = "0.4.6" 505version = "0.4.6"
506source = "registry+https://github.com/rust-lang/crates.io-index" 506source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/Cargo.toml b/Cargo.toml
index 1f5ecf4..eb83eca 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,13 +1,13 @@
1[package] 1[package]
2name = "hedge" 2name = "isostatic"
3version = "0.1.0" 3version = "0.1.0"
4authors = ["Akshay <[email protected]>"] 4authors = ["Akshay <[email protected]>"]
5edition = "2018" 5edition = "2018"
6description = "minimal url shortner" 6description = "minimal url shortner"
7homepage = "https://github.com/nerdypepper/hedge" 7homepage = "https://github.com/nerdypepper/isostatic"
8repository = "https://github.com/nerdypepper/hedge" 8repository = "https://github.com/nerdypepper/isostatic"
9readme = "./readme.md" 9readme = "./readme.md"
10keywords = [ "url", "server", "url shortner" ] 10keywords = [ "url", "server", "url-shortner" ]
11categories = [ "asynchronous", "compression" ] 11categories = [ "asynchronous", "compression" ]
12license = "MIT" 12license = "MIT"
13 13
diff --git a/readme.md b/readme.md
index a6693e6..8851cce 100644
--- a/readme.md
+++ b/readme.md
@@ -1,4 +1,4 @@
1### hedge 1### isostatic
2 2
3> minimal url shortner 3> minimal url shortner
4 4
@@ -17,7 +17,7 @@ $ nix-build
17Usage 17Usage
18----- 18-----
19 19
20hedge [-h | --help] [--port <number>] [--database <path>] 20isostatic [-h | --help] [--port <number>] [--database <path>]
21 21
22Options 22Options
23------- 23-------
@@ -32,5 +32,5 @@ Options
32start with 32start with
33 33
34```shell 34```shell
35$ RUST_LOG=hedge=trace hedge 35$ RUST_LOG=isostatic=trace isostatic
36``` 36```
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 = "
28Usage 28Usage
29----- 29-----
30 30
31hedge [-h | --help] [--port <number>] [--database <path>] 31isostatic [-h | --help] [--port <number>] [--database <path>]
32 32
33Options 33Options
34------- 34-------
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<Body>) -> Response<Body> {
21 let host = _h.as_ref().map(|h| h.as_bytes()).unwrap_or(b""); 21 let host = _h.as_ref().map(|h| h.as_bytes()).unwrap_or(b"");
22 let text = format!( 22 let text = format!(
23 " 23 "
24This URL shortening service is powered by hedge. 24This URL shortening service is powered by isostatic.
25 25
26 github.com/nerdypepper/hedge 26 github.com/nerdypepper/isostatic
27 27
28To shorten urls: 28To shorten urls:
29 29