summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-10-15 12:44:31 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-10-15 12:44:51 -0500
commitfd13b0b215a0763fa065038e7add3922059a332c (patch)
tree27f713d35bf63abd4f13cb1d25d1f29e3810de17
parentd3768b1d9712436da6df4e1eef54737890035f62 (diff)
chore: add license
-rw-r--r--Cargo.toml11
-rw-r--r--LICENSE21
2 files changed, 31 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f0106a8..ff7fccc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,6 +2,9 @@
name = "statsrv"
version = "0.1.0"
edition = "2021"
+license = "MIT"
+authors = ["Toby Vincent <tobyv@tobyvin.dev>"]
+description = "Minimal and flexable service status API"
[dependencies]
async-stream = "0.3.5"
@@ -13,7 +16,13 @@ reqwest = "0.12.7"
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
thiserror = "1.0.63"
-tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread", "net", "time", "process"] }
+tokio = { version = "1.40.0", features = [
+ "macros",
+ "rt-multi-thread",
+ "net",
+ "time",
+ "process",
+] }
tokio-stream = { version = "0.1.16", features = ["io-util", "sync"] }
toml = "0.8.19"
tower-http = { version = "0.6.1", features = ["fs", "trace"] }
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..f421772
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2023 Toby Vincent
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.