From aca2cb7f403a101f25c95e835193717902a5d440 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Fri, 27 Feb 2026 11:50:31 +0100 Subject: [PATCH] feat: add metadata Signed-off-by: kjuulh --- Cargo.toml | 9 +++++++-- LICENSE | 21 +++++++++++++++++++++ README.md | 2 +- crates/post3-sdk/Cargo.toml | 9 +++++++++ crates/post3-server/Cargo.toml | 9 +++++++++ crates/post3/Cargo.toml | 9 +++++++++ 6 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 LICENSE diff --git a/Cargo.toml b/Cargo.toml index faaed9f..a04ac76 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,10 +5,15 @@ resolver = "2" [workspace.package] version = "0.1.0" edition = "2024" +authors = ["Kasper Juul Hermansen "] +license = "MIT" +repository = "https://git.kjuulh.io/kjuulh/post3" +homepage = "https://git.kjuulh.io/kjuulh/post3" +rust-version = "1.85" [workspace.dependencies] -post3 = { path = "crates/post3" } -post3-sdk = { path = "crates/post3-sdk" } +post3 = { version = "0.1.0", path = "crates/post3" } +post3-sdk = { version = "0.1.0", path = "crates/post3-sdk" } anyhow = "1" tokio = { version = "1", features = ["full"] } diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e660759 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Kasper Juul Hermansen + +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 bb7932e..a40d9f6 100644 --- a/README.md +++ b/README.md @@ -173,4 +173,4 @@ mise run example:multipart # Multipart upload stress test ## License -See [LICENSE](LICENSE) for details. +Licensed under the [MIT License](LICENSE). diff --git a/crates/post3-sdk/Cargo.toml b/crates/post3-sdk/Cargo.toml index 09652dd..f2df68b 100644 --- a/crates/post3-sdk/Cargo.toml +++ b/crates/post3-sdk/Cargo.toml @@ -2,6 +2,15 @@ name = "post3-sdk" version.workspace = true edition.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +homepage.workspace = true +rust-version.workspace = true +description = "Ergonomic Rust SDK for post3 S3-compatible object storage — wraps aws-sdk-s3 with sane defaults" +keywords = ["s3", "sdk", "client", "object-storage", "aws"] +categories = ["api-bindings", "web-programming::http-client"] +readme = "../../README.md" [dependencies] aws-sdk-s3 = "1" diff --git a/crates/post3-server/Cargo.toml b/crates/post3-server/Cargo.toml index 23d8c9c..230c30d 100644 --- a/crates/post3-server/Cargo.toml +++ b/crates/post3-server/Cargo.toml @@ -2,6 +2,15 @@ name = "post3-server" version.workspace = true edition.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +homepage.workspace = true +rust-version.workspace = true +description = "S3-compatible HTTP server with pluggable PostgreSQL and filesystem backends" +keywords = ["s3", "server", "object-storage", "http", "axum"] +categories = ["web-programming::http-server", "database", "filesystem"] +readme = "../../README.md" [dependencies] post3.workspace = true diff --git a/crates/post3/Cargo.toml b/crates/post3/Cargo.toml index 3499fdf..74e734c 100644 --- a/crates/post3/Cargo.toml +++ b/crates/post3/Cargo.toml @@ -2,6 +2,15 @@ name = "post3" version.workspace = true edition.workspace = true +authors.workspace = true +license.workspace = true +repository.workspace = true +homepage.workspace = true +rust-version.workspace = true +description = "Pluggable S3-compatible object storage — core library with PostgreSQL and filesystem backends" +keywords = ["s3", "storage", "object-storage", "postgresql", "filesystem"] +categories = ["database", "filesystem", "web-programming"] +readme = "../../README.md" [dependencies] anyhow.workspace = true