From c81fd742c4dc1b6b924125fac6f270e2a2596310 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 14 Dec 2020 11:35:41 +0100 Subject: [PATCH] Prepare Cargo.toml for publication --- Cargo.lock | 4 +++- Cargo.toml | 13 ++++++++++--- LICENSE | 8 ++++++++ 3 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 LICENSE diff --git a/Cargo.lock b/Cargo.lock index 522fe30..ec7a5f0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -564,7 +564,9 @@ dependencies = [ [[package]] name = "kuska-handshake" -version = "0.1.1" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "da372e4a78da14a8381bb7d992f032b20405ecc2e44e677df21c80bd1e3359e8" dependencies = [ "async-std", "futures", diff --git a/Cargo.toml b/Cargo.toml index 3d0cd1b..96539b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,8 +3,16 @@ name = "netapp" version = "0.1.0" authors = ["Alex Auvolat "] edition = "2018" +license-file = "LICENSE" +description = "A toolkit library for distributed software" +homepage = "https://git.deuxfleurs.fr/lx/netapp" +repository = "https://git.deuxfleurs.fr/lx/netapp" +readme = "README.md" +keywords = ["protocol", "rpc", "mesh", "distributed"] +categories = ["asynchronous", "network-programming"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[lib] +name = "netapp" [dependencies] async-std = { version = "1.5.0", default-features = false } @@ -28,6 +36,5 @@ bytes = "0.6.0" lru = "0.6" sodiumoxide = { version = "0.2.5-0", package = "kuska-sodiumoxide" } -kuska-handshake = { version = "0.1.1", path = "../handshake", features = ["default", "tokio_compat"] } -#kuska-handshake = { version = "0.1.1", git = "https://github.com/kuska-ssb/handshake", branch = "master", features = ["default", "tokio_compat"] } +kuska-handshake = { version = "0.1.2", features = ["default", "tokio_compat"] } diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f721805 --- /dev/null +++ b/LICENSE @@ -0,0 +1,8 @@ +Licensed under the AGPLv3: http://www.gnu.org/licenses/agpl-3.0.html + +Additional Permissions For Submission to Apple App Store: Provided that you are +otherwise in compliance with the AGPLv3 for each covered work you convey, also +grants you the additional permission to convey through the Apple App Store +non-source executable versions of the Program as incorporated into each +applicable covered work as Executable Versions only under the Mozilla Public +License version 2.0 (https://www.mozilla.org/en-US/MPL/2.0/).