diff --git a/coeus-node/Cargo.toml b/coeus-node/Cargo.toml index ccc93ca..3bc5104 100644 --- a/coeus-node/Cargo.toml +++ b/coeus-node/Cargo.toml @@ -1,9 +1,11 @@ [package] name = "iop-coeus-node" +description = "Coeus layer-2 plugin implementation for Hydraledger" version = "0.0.15" authors = ["IOP Ventures LLC ", "Rache Bartmoss ", "wigy "] edition = "2018" license = "LGPL-3.0-or-later" +repository = "https://github.com/Internet-of-People/iop-rs" [dependencies] diff --git a/coeus-proto/Cargo.toml b/coeus-proto/Cargo.toml index 9e17a6c..798b538 100644 --- a/coeus-proto/Cargo.toml +++ b/coeus-proto/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "iop-coeus-proto" +description = "Coeus protocol definitions used on both node and sdk side of the IOP Stack™" version = "0.0.15" authors = ["IOP Ventures LLC ", "Rache Bartmoss ", "wigy "] edition = "2018" diff --git a/hydra-proto/Cargo.toml b/hydra-proto/Cargo.toml index e616e43..39161a5 100644 --- a/hydra-proto/Cargo.toml +++ b/hydra-proto/Cargo.toml @@ -1,9 +1,16 @@ [package] name = "iop-hydra-proto" +description = "Hydra-core specific protocol definitions for the IOP Stack™" version = "0.0.15" -authors = ["IOP Ventures LLC ", "Rache Bartmoss ", "wigy "] +authors = [ + "IOP Ventures LLC ", + "Rache Bartmoss ", + "wigy ", +] license = "LGPL-3.0-or-later" edition = "2018" +repository = "https://github.com/Internet-of-People/iop-rs" +homepage = "https://developer.iop.technology/" [dependencies] @@ -18,7 +25,7 @@ json-digest = "0.0.15" num-derive = "0.3.2" num-traits = "0.2.12" rand = { version = "0.8.3", features = ["getrandom"] } -serde = { version="1.0.121", features = ["derive"] } +serde = { version = "1.0.121", features = ["derive"] } serde_bytes = "0.11.5" serde_json = { version = "1.0.64", features = ["preserve_order"] } serde_repr = "0.1.6" diff --git a/hydra-sdk/Cargo.toml b/hydra-sdk/Cargo.toml index 277fefd..ef39594 100644 --- a/hydra-sdk/Cargo.toml +++ b/hydra-sdk/Cargo.toml @@ -1,7 +1,12 @@ [package] name = "iop-hydra-sdk" +description = "Hydraledger specific modules for the IOP Stack™ SDK" version = "0.0.15" -authors = ["IOP Ventures LLC ", "Rache Bartmoss ", "wigy "] +authors = [ + "IOP Ventures LLC ", + "Rache Bartmoss ", + "wigy ", +] license = "LGPL-3.0-or-later" edition = "2018" @@ -16,7 +21,7 @@ iop-morpheus-proto = "0.0.15" iop-vault = "0.0.15" parking_lot = { version = "0.11.1", features = ["serde", "wasm-bindgen"] } rand = { version = "0.8.3", features = ["getrandom"] } -serde = { version="1.0.121", features = ["derive"] } +serde = { version = "1.0.121", features = ["derive"] } serde_bytes = "0.11.5" serde_json = { version = "1.0.64", features = ["preserve_order"] } sha2 = "0.9.1" diff --git a/journal-proto/Cargo.toml b/journal-proto/Cargo.toml index 6c21897..fb368e0 100644 --- a/journal-proto/Cargo.toml +++ b/journal-proto/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "iop-journal-proto" version = "0.0.15" +description = "Journal-independent abstract definitions for the IOP Stack™" authors = ["IOP Ventures LLC ", "Rache Bartmoss ", "wigy "] license = "LGPL-3.0-or-later" edition = "2018" diff --git a/json-digest-wasm/Cargo.toml b/json-digest-wasm/Cargo.toml index e8e256a..6fe202a 100644 --- a/json-digest-wasm/Cargo.toml +++ b/json-digest-wasm/Cargo.toml @@ -3,10 +3,14 @@ name = "json-digest-wasm" version = "0.0.15" edition = "2018" description = "WebAssembly wrappers for the json-digest crate." -authors = ["IOP Ventures LLC ", "wigy ", "Rache Bartmoss "] +authors = [ + "IOP Ventures LLC ", + "wigy ", + "Rache Bartmoss ", +] license = "LGPL-3.0-or-later" repository = "https://github.com/Internet-of-People/iop-rs" -homepage = "https://iop.global" +homepage = "https://developer.iop.technology/glossary?id=json-masking" keywords = ["crypto", "wallet", "iop", "wasm", "ssi"] categories = ["cryptography", "cryptography::cryptocurrencies", "wasm"] @@ -17,6 +21,6 @@ crate-type = ["cdylib", "rlib"] [dependencies] json-digest = "0.0.15" -serde = { version="1.0.121", features = ["derive"] } +serde = { version = "1.0.121", features = ["derive"] } serde_json = { version = "1.0.64", features = ["preserve_order"] } wasm-bindgen = { version = "0.2.73", features = ["serde-serialize"] } diff --git a/morpheus-node/Cargo.toml b/morpheus-node/Cargo.toml index 8589bc6..c37d5b9 100644 --- a/morpheus-node/Cargo.toml +++ b/morpheus-node/Cargo.toml @@ -1,9 +1,11 @@ [package] name = "iop-morpheus-node" +description = "Morpheus layer-2 plugin implementation for Hydraledger" version = "0.0.15" authors = ["IOP Ventures LLC ", "Rache Bartmoss ", "wigy "] edition = "2018" license = "LGPL-3.0-or-later" +repository = "https://github.com/Internet-of-People/iop-rs" [dependencies] diff --git a/morpheus-proto/Cargo.toml b/morpheus-proto/Cargo.toml index 04c42e6..76dd160 100644 --- a/morpheus-proto/Cargo.toml +++ b/morpheus-proto/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "iop-morpheus-proto" +description = "Morpheus protocol definitions used on both node and sdk side of the IOP Stack™" version = "0.0.15" authors = ["IOP Ventures LLC ", "Rache Bartmoss ", "wigy "] edition = "2018" diff --git a/morpheus-sdk/Cargo.toml b/morpheus-sdk/Cargo.toml index 8541566..6cc4800 100644 --- a/morpheus-sdk/Cargo.toml +++ b/morpheus-sdk/Cargo.toml @@ -1,10 +1,16 @@ [package] name = "iop-morpheus-sdk" +description = "Morpheus specific modules for the IOP Stack™ SDK" version = "0.0.15" -authors = ["IOP Ventures LLC ", "Rache Bartmoss ", "wigy "] +authors = [ + "IOP Ventures LLC ", + "Rache Bartmoss ", + "wigy ", +] license = "LGPL-3.0-or-later" edition = "2018" - +repository = "https://github.com/Internet-of-People/iop-rs" +homepage = "https://developer.iop.technology/" [dependencies] anyhow = "1.0.32" @@ -12,7 +18,7 @@ iop-keyvault = "0.0.15" iop-vault = "0.0.15" parking_lot = { version = "0.11.1", features = ["serde", "wasm-bindgen"] } rand = { version = "0.8.3", features = ["getrandom"] } -serde = { version="1.0.121", features = ["derive"] } +serde = { version = "1.0.121", features = ["derive"] } serde_bytes = "0.11.5" typetag = "0.1.5" diff --git a/node-wasm/Cargo.toml b/node-wasm/Cargo.toml index 78bad6e..5746f2a 100644 --- a/node-wasm/Cargo.toml +++ b/node-wasm/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "iop-node-wasm" +description = "WebAssembly bindings to the node implementation for Hydraledger" version = "0.0.15" authors = [ "IOP Ventures LLC ", "Rache Bartmoss ", - "wigy " + "wigy ", ] edition = "2018" license = "LGPL-3.0-or-later" +repository = "https://github.com/Internet-of-People/iop-rs" +homepage = "https://developer.iop.technology/" [lib] crate-type = ["cdylib", "rlib"] @@ -24,7 +27,7 @@ iop-morpheus-node = "0.0.15" iop-morpheus-proto = "0.0.15" iop-proto-wasm = "0.0.15" json-digest-wasm = "0.0.15" -serde = { version="1.0.121", features = ["derive"] } +serde = { version = "1.0.121", features = ["derive"] } serde_json = { version = "1.0.64", features = ["preserve_order"] } # Force `wasm-bindgen` feature in transitive dependency `uuid` needed by `valico` in `iop-coeus-node` uuid = { version = "0.8", features = ["v4", "wasm-bindgen"] } diff --git a/proto-wasm/Cargo.toml b/proto-wasm/Cargo.toml index 6d083cb..eea87a6 100644 --- a/proto-wasm/Cargo.toml +++ b/proto-wasm/Cargo.toml @@ -4,10 +4,14 @@ version = "0.0.15" authors = [ "IOP Ventures LLC ", "Rache Bartmoss ", - "wigy " + "wigy ", ] edition = "2018" license = "LGPL-3.0-or-later" +description = "WebAssembly bindings shared between node and sdk in the IOP Stack™" +repository = "https://github.com/Internet-of-People/iop-rs" +homepage = "https://developer.iop.technology/glossary?id=json-masking" + [lib] crate-type = ["cdylib", "rlib"] @@ -23,7 +27,7 @@ iop-journal-proto = "0.0.15" iop-keyvault = "0.0.15" iop-keyvault-wasm = "0.0.15" iop-morpheus-proto = "0.0.15" -serde = { version="1.0.121", features = ["derive"] } +serde = { version = "1.0.121", features = ["derive"] } serde_json = { version = "1.0.64", features = ["preserve_order"] } serde_str = "0.1.0" # Force "wasm-bindgen" feature in uuid dependency needed by valico in coeus-core diff --git a/scripts/publish.sh b/scripts/publish.sh new file mode 100755 index 0000000..2c5224d --- /dev/null +++ b/scripts/publish.sh @@ -0,0 +1,30 @@ +#!/usr/bin/env bash + +# Run `scripts/publish.sh --dry-run` from the root of the repository to +# check if everything is ready for publishing. Then remove --dry-run to +# actually publish all crates on https://crates.io/ + +declare -a crates=( + "json-digest" + "iop-journal-proto" + "iop-keyvault" + "iop-keyvault-wasm" + "iop-morpheus-proto" + "iop-coeus-proto" + "iop-vault" + "iop-hydra-proto" + "iop-coeus-node" + "iop-morpheus-node" + "json-digest-wasm" + "iop-proto-wasm" + "iop-hydra-sdk" + "iop-morpheus-sdk" + "iop-sdk" + "iop-sdk-wasm" + "iop-node-wasm" + "iop-sdk-ffi" +) + +for crate in "${crates[@]}"; do + cargo publish -p "$crate" "$@" +done diff --git a/sdk-ffi/Cargo.toml b/sdk-ffi/Cargo.toml index 93a202f..7bf20fe 100644 --- a/sdk-ffi/Cargo.toml +++ b/sdk-ffi/Cargo.toml @@ -1,9 +1,16 @@ [package] name = "iop-sdk-ffi" +description = "C ABI bindings to the client SDK for the IOP Stack™" version = "0.0.15" -authors = ["IOP Ventures LLC ", "Rache Bartmoss ", "wigy "] +authors = [ + "IOP Ventures LLC ", + "Rache Bartmoss ", + "wigy ", +] edition = "2018" license = "LGPL-3.0-or-later" +repository = "https://github.com/Internet-of-People/iop-rs" +homepage = "https://developer.iop.technology/" [lib] @@ -23,7 +30,7 @@ iop-morpheus-proto = "0.0.15" iop-morpheus-sdk = "0.0.15" iop-vault = "0.0.15" json-digest = "0.0.15" -serde = { version="1.0.121", features = ["derive", "rc"] } +serde = { version = "1.0.121", features = ["derive", "rc"] } serde_json = { version = "1.0.64", features = ["preserve_order"] } serde_repr = "0.1.6" diff --git a/sdk-wasm/Cargo.toml b/sdk-wasm/Cargo.toml index 81f88b1..f6901ae 100644 --- a/sdk-wasm/Cargo.toml +++ b/sdk-wasm/Cargo.toml @@ -1,13 +1,16 @@ [package] name = "iop-sdk-wasm" +description = "WebAssembly bindings to the client SDK for the IOP Stack™" version = "0.0.15" authors = [ "IOP Ventures LLC ", "Rache Bartmoss ", - "wigy " + "wigy ", ] edition = "2018" license = "LGPL-3.0-or-later" +repository = "https://github.com/Internet-of-People/iop-rs" +homepage = "https://developer.iop.technology/" [lib] crate-type = ["cdylib", "rlib"] @@ -15,8 +18,10 @@ crate-type = ["cdylib", "rlib"] [dependencies] anyhow = "1.0.32" # There are still some transitive dependencies on this old version -getrandom01 = { version="0.1", package="getrandom", features=["wasm-bindgen"] } -getrandom = { version="0.2.3", features=["wasm-bindgen", "js"] } +getrandom01 = { version = "0.1", package = "getrandom", features = [ + "wasm-bindgen", +] } +getrandom = { version = "0.2.3", features = ["wasm-bindgen", "js"] } iop-hydra-proto = "0.0.15" iop-hydra-sdk = "0.0.15" iop-keyvault = "0.0.15" @@ -27,8 +32,8 @@ iop-proto-wasm = "0.0.15" iop-vault = "0.0.15" json-digest-wasm = "0.0.15" # There are still some transitive dependencies on this old version -rand07 = { version="0.7", package="rand", features=["getrandom"] } -rand = { version="0.8.3", features=["getrandom"] } -serde = { version="1.0.121", features = ["derive"] } +rand07 = { version = "0.7", package = "rand", features = ["getrandom"] } +rand = { version = "0.8.3", features = ["getrandom"] } +serde = { version = "1.0.121", features = ["derive"] } serde_json = { version = "1.0.64", features = ["preserve_order"] } wasm-bindgen = { version = "0.2.73", features = ["serde-serialize"] } diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index 861f968..9ca6a89 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "iop-sdk" +description = "Client SDK for the IOP Stack™" version = "0.0.15" authors = [ "IOP Ventures LLC ", @@ -8,6 +9,8 @@ authors = [ ] license = "LGPL-3.0-or-later" edition = "2018" +repository = "https://github.com/Internet-of-People/iop-rs" +homepage = "https://developer.iop.technology/" [lib] diff --git a/vault/Cargo.toml b/vault/Cargo.toml index 5fae8bb..23d9678 100644 --- a/vault/Cargo.toml +++ b/vault/Cargo.toml @@ -1,5 +1,6 @@ [package] name = "iop-vault" +description = "A hierarchical deterministic wallet that allows plugin extensions for the IOP Stack™" version = "0.0.15" authors = ["IOP Ventures LLC ", "Rache Bartmoss ", "wigy "] edition = "2018"