From f9c098b92fe5a7e80c0facf0771deea5c552012d Mon Sep 17 00:00:00 2001 From: phoenix Date: Tue, 14 Jul 2026 11:47:05 -0400 Subject: [PATCH] Adding license (#18) Reviewed-on: http://git.kundeng.us/phoenix/catapult/pulls/18 --- .gitea/workflows/pr.yml | 3 +++ Cargo.toml | 2 ++ LICENSE.md | 22 ++++++++++++++++++++++ README.md | 6 +++++- 4 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 LICENSE.md diff --git a/.gitea/workflows/pr.yml b/.gitea/workflows/pr.yml index 301bac0..36fee09 100644 --- a/.gitea/workflows/pr.yml +++ b/.gitea/workflows/pr.yml @@ -4,6 +4,9 @@ on: pull_request: branches: - main + push: + branches: + - main concurrency: group: ${{ github.workflow }}-${{ github.ref }} diff --git a/Cargo.toml b/Cargo.toml index 8b8c18a..f3bade2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,8 @@ name = "catapult" version = "0.3.5" rust-version = "1.97" +license = "MIT" +description = "Service to carry out text message scheduling" edition = "2024" [dependencies] diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..1ba694a --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,22 @@ +Copyright (c) 2026 Kun Deng. + +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. diff --git a/README.md b/README.md index 0fe2367..39f62de 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ -# Getting started +# catapult +A service that manages scheduling text messages. + + +## Getting started Docker isn't required, but it is the quickest way to get started. Copy over the `.env.docker.sample` to `.env`. From that point, make edits to the