From b59bf33933426676b799b11725d50ad8b9d2a4ea Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Date: Mon, 28 Nov 2022 10:18:42 +0100 Subject: [PATCH] Information prior to publishing (#21) --- Cargo.lock | 104 ++------------------------------------- waku-bindings/Cargo.toml | 9 +++- waku-sys/Cargo.toml | 8 ++- waku-sys/README.md | 2 +- 4 files changed, 18 insertions(+), 105 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 02fcb69..f4703b2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -67,17 +67,6 @@ version = "0.3.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4c527152e37cf757a3f78aae5a06fbeefdb07ccc535c980a3208ee3060dd544" -[[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi", - "libc", - "winapi", -] - [[package]] name = "autocfg" version = "1.1.0" @@ -98,15 +87,13 @@ checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd" [[package]] name = "bindgen" -version = "0.60.1" +version = "0.63.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "062dddbc1ba4aca46de6338e2bf87771414c335f7b2f2036e8f3e9befebf88e6" +checksum = "36d860121800b2a9a94f9b5604b332d5cffb234ce17609ea479d723dbc9d3885" dependencies = [ "bitflags", "cexpr", "clang-sys", - "clap", - "env_logger", "lazy_static", "lazycell", "log", @@ -116,6 +103,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", + "syn", "which", ] @@ -206,30 +194,6 @@ dependencies = [ "libloading", ] -[[package]] -name = "clap" -version = "3.2.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86447ad904c7fb335a790c9d7fe3d0d971dc523b8ccd1561a520de9a85302750" -dependencies = [ - "atty", - "bitflags", - "clap_lex", - "indexmap", - "strsim", - "termcolor", - "textwrap", -] - -[[package]] -name = "clap_lex" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5" -dependencies = [ - "os_str_bytes", -] - [[package]] name = "codespan-reporting" version = "0.11.1" @@ -405,19 +369,6 @@ version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" -[[package]] -name = "env_logger" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c90bf5f19754d10198ccb95b70664fc925bd1fc090a0fd9a6ebc54acc8cd6272" -dependencies = [ - "atty", - "humantime", - "log", - "regex", - "termcolor", -] - [[package]] name = "form_urlencoded" version = "1.1.0" @@ -464,33 +415,12 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" -[[package]] -name = "hashbrown" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" - -[[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - [[package]] name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "iana-time-zone" version = "0.1.51" @@ -525,16 +455,6 @@ dependencies = [ "unicode-normalization", ] -[[package]] -name = "indexmap" -version = "1.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e" -dependencies = [ - "autocfg", - "hashbrown", -] - [[package]] name = "inout" version = "0.1.3" @@ -743,12 +663,6 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" -[[package]] -name = "os_str_bytes" -version = "6.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ff7415e9ae3fff1225851df9e0d9e4e5479f947619774677a63572e55e80eff" - [[package]] name = "parking_lot" version = "0.12.1" @@ -1081,12 +995,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" -[[package]] -name = "strsim" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" - [[package]] name = "subtle" version = "2.4.1" @@ -1125,12 +1033,6 @@ dependencies = [ "winapi-util", ] -[[package]] -name = "textwrap" -version = "0.15.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "949517c0cf1bf4ee812e2e07e08ab448e3ae0d23472aee8a06c985f0c8815b16" - [[package]] name = "thiserror" version = "1.0.37" diff --git a/waku-bindings/Cargo.toml b/waku-bindings/Cargo.toml index 059eb1a..b4e9279 100644 --- a/waku-bindings/Cargo.toml +++ b/waku-bindings/Cargo.toml @@ -5,8 +5,13 @@ edition = "2021" authors = [ "Daniel Sanchez Quiros " ] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +description = "Peer-to-peer networking library" +license = "MIT" +repository = "https://github.com/waku-org/waku-rust-bindings" +keywords = ["waku", "peer-to-peer", "libp2p", "networking"] +categories = ["network-programming"] +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] aes-gcm = { version = "0.10", features = ["aes"] } base64 = "0.13" @@ -19,4 +24,4 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" sscanf = "0.3" url = "2.3" -waku-sys = { path = "../waku-sys" } +waku-sys = "0.1" diff --git a/waku-sys/Cargo.toml b/waku-sys/Cargo.toml index 92dac0a..fa94926 100644 --- a/waku-sys/Cargo.toml +++ b/waku-sys/Cargo.toml @@ -5,6 +5,12 @@ edition = "2021" authors = [ "Daniel Sanchez Quiros " ] +description = "Peer-to-peer networking library" +license = "MIT" +repository = "https://github.com/waku-org/waku-rust-bindings" +keywords = ["waku", "peer-to-peer", "libp2p", "networking"] +categories = ["network-programming"] + [lib] crate-type = ["rlib"] @@ -13,4 +19,4 @@ crate-type = ["rlib"] [dependencies] [build-dependencies] -bindgen = "0.60" \ No newline at end of file +bindgen = "0.63" \ No newline at end of file diff --git a/waku-sys/README.md b/waku-sys/README.md index 941efbc..8f2df60 100644 --- a/waku-sys/README.md +++ b/waku-sys/README.md @@ -9,7 +9,7 @@ Rust layer on top of [`go-waku`](https://github.com/status-im/go-waku) [c ffi bi ## Usage -This are autogenerated, if you are looking for a proper Rust API version check on [`waku-bindings`](https://crates.io/crates/waku-bindings) +These are autogenerated, if you are looking for a proper Rust API version check on [`waku-bindings`](https://crates.io/crates/waku-bindings) Add this to your `Cargo.toml`: