diff --git a/Cargo.toml b/Cargo.toml index 08ef0cd..f7f6b07 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,15 +1,21 @@ [package] name = "doctor-restart" +authors = ["Dmitry Belyaev"] version = "0.1.0" +description = "restart unhealthy containers" +license-file = "LICENSE" edition = "2021" [dependencies] anyhow = "1.0.88" bollard = { version = "0.17.1", features = ["ssl", "json_data_content", "tokio-stream"] } +clap = { version = "4.5.17", features = ["derive"] } +clap_derive = "4.5.13" flexi_logger = "0.29.0" futures-util = "0.3.30" log = "0.4.22" log-panics = "2.1.0" +parse_duration = "2.1.1" serde = "1.0.210" tokio = {version = "1.40.0", features = ["full"]} tokio-macros = "2.4.0" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ddd33b7 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Dmitry Belyaev + +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.