From fd13b0b215a0763fa065038e7add3922059a332c Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Tue, 15 Oct 2024 12:44:31 -0500 Subject: chore: add license --- Cargo.toml | 11 ++++++++++- LICENSE | 21 +++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 LICENSE 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 "] +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. -- cgit v1.2.3-70-g09d2