Skip to content

Commit

Permalink
Publish all crates
Browse files Browse the repository at this point in the history
  • Loading branch information
wigy-opensource-developer committed Nov 9, 2021
1 parent ace629d commit 63191fc
Show file tree
Hide file tree
Showing 16 changed files with 104 additions and 22 deletions.
2 changes: 2 additions & 0 deletions coeus-node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
edition = "2018"
license = "LGPL-3.0-or-later"
repository = "https://github.com/Internet-of-People/iop-rs"


[dependencies]
Expand Down
1 change: 1 addition & 0 deletions coeus-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
edition = "2018"
Expand Down
11 changes: 9 additions & 2 deletions hydra-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
authors = [
"IOP Ventures LLC <[email protected]>",
"Rache Bartmoss <[email protected]>",
"wigy <[email protected]>",
]
license = "LGPL-3.0-or-later"
edition = "2018"
repository = "https://github.com/Internet-of-People/iop-rs"
homepage = "https://developer.iop.technology/"


[dependencies]
Expand All @@ -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"
Expand Down
9 changes: 7 additions & 2 deletions hydra-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
authors = [
"IOP Ventures LLC <[email protected]>",
"Rache Bartmoss <[email protected]>",
"wigy <[email protected]>",
]
license = "LGPL-3.0-or-later"
edition = "2018"

Expand All @@ -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"
Expand Down
1 change: 1 addition & 0 deletions journal-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
license = "LGPL-3.0-or-later"
edition = "2018"
Expand Down
10 changes: 7 additions & 3 deletions json-digest-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>", "wigy <[email protected]>", "Rache Bartmoss <[email protected]>"]
authors = [
"IOP Ventures LLC <[email protected]>",
"wigy <[email protected]>",
"Rache Bartmoss <[email protected]>",
]
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"]

Expand All @@ -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"] }
2 changes: 2 additions & 0 deletions morpheus-node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
edition = "2018"
license = "LGPL-3.0-or-later"
repository = "https://github.com/Internet-of-People/iop-rs"


[dependencies]
Expand Down
1 change: 1 addition & 0 deletions morpheus-proto/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
edition = "2018"
Expand Down
12 changes: 9 additions & 3 deletions morpheus-sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
[package]
name = "iop-morpheus-sdk"
description = "Morpheus specific modules for the IOP Stack™ SDK"
version = "0.0.15"
authors = ["IOP Ventures LLC <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
authors = [
"IOP Ventures LLC <[email protected]>",
"Rache Bartmoss <[email protected]>",
"wigy <[email protected]>",
]
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"
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"

Expand Down
7 changes: 5 additions & 2 deletions node-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"Rache Bartmoss <[email protected]>",
"wigy <[email protected]>"
"wigy <[email protected]>",
]
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"]
Expand All @@ -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"] }
Expand Down
8 changes: 6 additions & 2 deletions proto-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,14 @@ version = "0.0.15"
authors = [
"IOP Ventures LLC <[email protected]>",
"Rache Bartmoss <[email protected]>",
"wigy <[email protected]>"
"wigy <[email protected]>",
]
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"]
Expand All @@ -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
Expand Down
30 changes: 30 additions & 0 deletions scripts/publish.sh
Original file line number Diff line number Diff line change
@@ -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
11 changes: 9 additions & 2 deletions sdk-ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
authors = [
"IOP Ventures LLC <[email protected]>",
"Rache Bartmoss <[email protected]>",
"wigy <[email protected]>",
]
edition = "2018"
license = "LGPL-3.0-or-later"
repository = "https://github.com/Internet-of-People/iop-rs"
homepage = "https://developer.iop.technology/"


[lib]
Expand All @@ -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"

Expand Down
17 changes: 11 additions & 6 deletions sdk-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
[package]
name = "iop-sdk-wasm"
description = "WebAssembly bindings to the client SDK for the IOP Stack™"
version = "0.0.15"
authors = [
"IOP Ventures LLC <[email protected]>",
"Rache Bartmoss <[email protected]>",
"wigy <[email protected]>"
"wigy <[email protected]>",
]
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"]

[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"
Expand All @@ -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"] }
3 changes: 3 additions & 0 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[package]
name = "iop-sdk"
description = "Client SDK for the IOP Stack™"
version = "0.0.15"
authors = [
"IOP Ventures LLC <[email protected]>",
Expand All @@ -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]
Expand Down
1 change: 1 addition & 0 deletions vault/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>", "Rache Bartmoss <[email protected]>", "wigy <[email protected]>"]
edition = "2018"
Expand Down

0 comments on commit 63191fc

Please sign in to comment.