diff options
author | Akshay <[email protected]> | 2020-08-24 15:36:16 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2020-08-24 15:36:16 +0100 |
commit | 09e41a59e81f0e4858b33f01d94b0340c4e10fec (patch) | |
tree | 77966165da3873eb5bcc6d52383feea3ee295873 | |
parent | 1769baea084b9e414bfd8e24e942d119d8653348 (diff) |
rename to isostaticv0.1.0
-rw-r--r-- | Cargo.lock | 34 | ||||
-rw-r--r-- | Cargo.toml | 8 | ||||
-rw-r--r-- | readme.md | 6 | ||||
-rw-r--r-- | src/cli.rs | 2 | ||||
-rw-r--r-- | src/service.rs | 4 |
5 files changed, 27 insertions, 27 deletions
@@ -385,23 +385,6 @@ dependencies = [ | |||
385 | ] | 385 | ] |
386 | 386 | ||
387 | [[package]] | 387 | [[package]] |
388 | name = "hedge" | ||
389 | version = "0.1.0" | ||
390 | dependencies = [ | ||
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]] | ||
405 | name = "hermit-abi" | 388 | name = "hermit-abi" |
406 | version = "0.1.15" | 389 | version = "0.1.15" |
407 | source = "registry+https://github.com/rust-lang/crates.io-index" | 390 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -501,6 +484,23 @@ dependencies = [ | |||
501 | ] | 484 | ] |
502 | 485 | ||
503 | [[package]] | 486 | [[package]] |
487 | name = "isostatic" | ||
488 | version = "0.1.0" | ||
489 | dependencies = [ | ||
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]] | ||
504 | name = "itoa" | 504 | name = "itoa" |
505 | version = "0.4.6" | 505 | version = "0.4.6" |
506 | source = "registry+https://github.com/rust-lang/crates.io-index" | 506 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -1,13 +1,13 @@ | |||
1 | [package] | 1 | [package] |
2 | name = "hedge" | 2 | name = "isostatic" |
3 | version = "0.1.0" | 3 | version = "0.1.0" |
4 | authors = ["Akshay <[email protected]>"] | 4 | authors = ["Akshay <[email protected]>"] |
5 | edition = "2018" | 5 | edition = "2018" |
6 | description = "minimal url shortner" | 6 | description = "minimal url shortner" |
7 | homepage = "https://github.com/nerdypepper/hedge" | 7 | homepage = "https://github.com/nerdypepper/isostatic" |
8 | repository = "https://github.com/nerdypepper/hedge" | 8 | repository = "https://github.com/nerdypepper/isostatic" |
9 | readme = "./readme.md" | 9 | readme = "./readme.md" |
10 | keywords = [ "url", "server", "url shortner" ] | 10 | keywords = [ "url", "server", "url-shortner" ] |
11 | categories = [ "asynchronous", "compression" ] | 11 | categories = [ "asynchronous", "compression" ] |
12 | license = "MIT" | 12 | license = "MIT" |
13 | 13 | ||
@@ -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 | |||
17 | Usage | 17 | Usage |
18 | ----- | 18 | ----- |
19 | 19 | ||
20 | hedge [-h | --help] [--port <number>] [--database <path>] | 20 | isostatic [-h | --help] [--port <number>] [--database <path>] |
21 | 21 | ||
22 | Options | 22 | Options |
23 | ------- | 23 | ------- |
@@ -32,5 +32,5 @@ Options | |||
32 | start with | 32 | start with |
33 | 33 | ||
34 | ```shell | 34 | ```shell |
35 | $ RUST_LOG=hedge=trace hedge | 35 | $ RUST_LOG=isostatic=trace isostatic |
36 | ``` | 36 | ``` |
@@ -28,7 +28,7 @@ pub static HELP_TEXT: &'static str = " | |||
28 | Usage | 28 | Usage |
29 | ----- | 29 | ----- |
30 | 30 | ||
31 | hedge [-h | --help] [--port <number>] [--database <path>] | 31 | isostatic [-h | --help] [--port <number>] [--database <path>] |
32 | 32 | ||
33 | Options | 33 | Options |
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 | " |
24 | This URL shortening service is powered by hedge. | 24 | This URL shortening service is powered by isostatic. |
25 | 25 | ||
26 | github.com/nerdypepper/hedge | 26 | github.com/nerdypepper/isostatic |
27 | 27 | ||
28 | To shorten urls: | 28 | To shorten urls: |
29 | 29 | ||