Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #166 from iotaledger/v1.2.0
Browse files Browse the repository at this point in the history
Release 1.2.0
  • Loading branch information
Arnau Orriols committed Oct 6, 2021
2 parents 9eb9611 + e12303f commit b94da49
Show file tree
Hide file tree
Showing 20 changed files with 53 additions and 84 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

[package]
name = "iota-streams"
version = "1.0.0"
version = "0.1.2"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>", "Arnau Orriols <arnau.orriols@iota.org"]
edition = "2018"
license = "Apache-2.0/MIT"
readme = "README.md"
keywords = ["iota", "streams"]
description = "A rust implementation of the IOTA Streams"
description = "A Rust implementation of the IOTA Streams"
autoexamples = false

[lib]
Expand Down Expand Up @@ -45,12 +45,12 @@ sync-spin = ["iota-streams-app/sync-spin", "iota-streams-core/sync-spin"]
sync-parking-lot = ["iota-streams-app/sync-parking-lot", "std", "iota-streams-core/sync-parking-lot"]

[dependencies]
iota-streams-core = { version = "0.3.0", path = "iota-streams-core", default-features = false }
iota-streams-core-keccak = { version = "0.3.0", path = "iota-streams-core-keccak", default-features = false }
iota-streams-core-edsig = { version = "0.2.0", path = "iota-streams-core-edsig", default-features = false }
iota-streams-ddml = { version = "0.2.2", path = "iota-streams-ddml", default-features = false }
iota-streams-app = { version = "1.0.0", path = "iota-streams-app", default-features = false }
iota-streams-app-channels = { version = "1.0.0", path = "iota-streams-app-channels", default-features = false }
iota-streams-core = { version = "0.1.2", path = "iota-streams-core", default-features = false }
iota-streams-core-keccak = { version = "0.1.2", path = "iota-streams-core-keccak", default-features = false }
iota-streams-core-edsig = { version = "0.1.2", path = "iota-streams-core-edsig", default-features = false }
iota-streams-ddml = { version = "0.1.2", path = "iota-streams-ddml", default-features = false }
iota-streams-app = { version = "0.1.2", path = "iota-streams-app", default-features = false }
iota-streams-app-channels = { version = "0.1.2", path = "iota-streams-app-channels", default-features = false }

#[profile.release-nostd]
#inherits = "release"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ iota-streams = { git = "https://github.com/iotaledger/streams", branch = "devel
```bash
[dependencies]
iota-streams = { version = "1.0.0", path = "../streams" }
iota-streams = { version = "0.1.2", path = "../streams" }
```
## Getting started
Expand Down
4 changes: 2 additions & 2 deletions bindings/c/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "streams-c-binding"
version = "1.0.1"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>"]
version = "0.1.2"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>", "Arnau Orriols <arnau.orriols@iota.org>"]
edition = "2018"

[features]
Expand Down
10 changes: 5 additions & 5 deletions bindings/wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "streams_wasm"
version = "0.0.1"
authors = ["huhn511 <huhn@einfachIOTA.de>", "Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>"]
name = "streams"
version = "0.1.2"
authors = ["huhn511 <huhn@einfachIOTA.de>", "Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>", "Arnau Orriols <arnau.orriols@iota.org>"]
edition = "2018"
repository = "https://github.com/iotaledger/streams"
homepage = "https://www.iota.org"
homepage = "https://wiki.iota.org/streams/libraries/wasm/overview"
license = "MIT"

[lib]
Expand All @@ -24,4 +24,4 @@ client-wasm = { git = "https://github.com/iotaledger/iota.rs", rev = "ee19ec4",
getrandom = {version = "0.2.2", features = ["js"]}

[dev-dependencies]
wasm-bindgen-test = "0.3.28"
wasm-bindgen-test = "0.3.28"
4 changes: 2 additions & 2 deletions bindings/wasm/build/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path')
const fs = require('fs')

// Add node fetch stuff (https://github.com/seanmonstar/reqwest/issues/910)
const entryFilePathNode = path.join(__dirname, '../node/streams_wasm.js')
const entryFilePathNode = path.join(__dirname, '../node/streams.js')
const entryFileNode = fs.readFileSync(entryFilePathNode).toString()
let changedFileNode = entryFileNode.replace(
"let imports = {};",
Expand All @@ -12,4 +12,4 @@ let changedFileNode = entryFileNode.replace(
fs.writeFileSync(
entryFilePathNode,
changedFileNode
)
)
4 changes: 2 additions & 2 deletions bindings/wasm/build/web.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const path = require('path')
const fs = require('fs')

const entryFilePath = path.join(__dirname, '../web/streams_wasm.js')
const entryFilePath = path.join(__dirname, '../web/streams.js')
const entryFile = fs.readFileSync(entryFilePath).toString()
let changedFile = entryFile
// Rename original init function, because we want to use the name for our own function
Expand All @@ -24,7 +24,7 @@ fs.writeFileSync(
changedFile
)

const entryFilePathTs = path.join(__dirname, '../web/streams_wasm.d.ts')
const entryFilePathTs = path.join(__dirname, '../web/streams.d.ts')
const entryFileTs = fs.readFileSync(entryFilePathTs).toString()
// Replace the init function in the ts file
let changedFileTs = entryFileTs.replace(
Expand Down
2 changes: 1 addition & 1 deletion bindings/wasm/examples/node.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const streams = require("../node/streams_wasm");
const streams = require("../node/streams");

streams.set_panic_hook();

Expand Down
2 changes: 1 addition & 1 deletion bindings/wasm/examples/node.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as streams from '../node/streams_wasm';
import * as streams from '../node/streams';

streams.set_panic_hook();

Expand Down
6 changes: 3 additions & 3 deletions bindings/wasm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iota/streams-wasm",
"version": "1.1.0",
"name": "@iota/streams",
"version": "0.1.2",
"description": "WASM binding for the IOTA streams library",
"repository": {
"type": "git",
Expand Down Expand Up @@ -54,4 +54,4 @@
"dependencies": {
"node-fetch": "^2.6.0"
}
}
}
2 changes: 1 addition & 1 deletion documentation/docs/libraries/rust/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ iota-streams = { git = "https://github.com/iotaledger/streams", branch = "maste
```bash
[dependencies]
iota-streams = { version = "1.0.0", path = "../streams" }
iota-streams = { version = "0.1.2", path = "../streams" }
```
## Basic Usage
Expand Down
4 changes: 2 additions & 2 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "iota-streams-basic-scenario"
version = "1.0.0"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>"]
version = "0.1.2"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>", "Arnau Orriols <arnau.orriols@iota.org>"]
edition = "2018"
license = "Apache-2.0/MIT"
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions iota-streams-app-channels-example/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iota-streams-app-channels-example"
version = "1.0.0"
version = "0.1.2"
authors = ["Vlad Semenov <semenov.vlad.by@gmail.com>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>"]
edition = "2018"

Expand All @@ -12,7 +12,7 @@ tangle = ["iota-streams/tangle"]

[dependencies]
wee_alloc = "0.4.5"
iota-streams = { version = "1.0.0", path = "..", default-features = false}
iota-streams = { version = "0.1.2", path = "..", default-features = false}
hex = { version = "0.4", default-features = false}
#[profile.release]
##inherits = "release"
Expand Down
18 changes: 7 additions & 11 deletions iota-streams-app-channels/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "iota-streams-app-channels"
version = "1.0.1"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>"]
version = "0.1.2"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>", "Arnau Orriols <arnau.orriols@iota.org>"]
edition = "2018"
license = "Apache-2.0/MIT"
readme = "README.md"
Expand All @@ -15,16 +15,12 @@ std = ["iota-streams-core/std", "iota-streams-core-edsig/std", "iota-streams-ddm
tangle = ["iota-streams-app/tangle"]
wasm-client = ["iota-streams-app/wasm-client", "tangle", "std"]

[lib]
name = "iota_streams_app_channels"
path = "src/lib.rs"

[dependencies]
iota-streams-core = { version = "0.3.1", path = "../iota-streams-core", default-features = false }
iota-streams-core-edsig = { version = "0.2.1", path = "../iota-streams-core-edsig", default-features = false }
iota-streams-core-keccak = { version = "0.3.1", path = "../iota-streams-core-keccak", default-features = false }
iota-streams-ddml = { version = "0.2.1", path = "../iota-streams-ddml", default-features = false }
iota-streams-app = { version = "1.0.1", path = "../iota-streams-app", default-features = false }
iota-streams-core = { version = "0.1.2", path = "../iota-streams-core", default-features = false }
iota-streams-core-edsig = { version = "0.1.2", path = "../iota-streams-core-edsig", default-features = false }
iota-streams-core-keccak = { version = "0.1.2", path = "../iota-streams-core-keccak", default-features = false }
iota-streams-ddml = { version = "0.1.2", path = "../iota-streams-ddml", default-features = false }
iota-streams-app = { version = "0.1.2", path = "../iota-streams-app", default-features = false }

hex = { version = "0.4", default-features = false, optional = false }

Expand Down
14 changes: 5 additions & 9 deletions iota-streams-app/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "iota-streams-app"
version = "1.0.1"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>"]
version = "0.1.2"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>", "Arnau Orriols <arnau.orriols@iota.org>"]
edition = "2018"
license = "Apache-2.0/MIT"
readme = "README.md"
Expand All @@ -22,14 +22,10 @@ wasm-client = ["iota-client/wasm", "chrono/wasmbind", "tangle", "std"]
sync-parking-lot = ["iota-streams-core/sync-parking-lot"]
sync-spin = ["iota-streams-core/sync-spin"]

[lib]
name = "iota_streams_app"
path = "src/lib.rs"

[dependencies]
iota-streams-core = { version = "0.3.1", path = "../iota-streams-core", default-features = false }
iota-streams-core-edsig = { version = "0.2.1", path = "../iota-streams-core-edsig", default-features = false }
iota-streams-ddml = { version = "0.2.1", path = "../iota-streams-ddml", default-features = false }
iota-streams-core = { version = "0.1.2", path = "../iota-streams-core", default-features = false }
iota-streams-core-edsig = { version = "0.1.2", path = "../iota-streams-core-edsig", default-features = false }
iota-streams-ddml = { version = "0.1.2", path = "../iota-streams-ddml", default-features = false }

# anyhow and chrono are kept in sync with versions used in iota-client
anyhow = { version = "1.0.26", default-features = false }
Expand Down
8 changes: 2 additions & 6 deletions iota-streams-core-edsig/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iota-streams-core-edsig"
version = "0.2.1"
version = "0.1.2"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>"]
edition = "2018"
license = "Apache-2.0/MIT"
Expand All @@ -12,12 +12,8 @@ description = "A rust implementation of the IOTA Streams Ed25519 signature schem
default = ["std"]
std = ["iota-streams-core/std", "ed25519-dalek/std", "x25519-dalek/std", "curve25519-dalek/std"]

[lib]
name = "iota_streams_core_edsig"
path = "src/lib.rs"

[dependencies]
iota-streams-core = { version = "0.3.1", path = "../iota-streams-core", default-features = false }
iota-streams-core = { version = "0.1.2", path = "../iota-streams-core", default-features = false }
# TODO: move to recent versions of ed25519-dalek, x25519-dalek and curve25510-dalek
ed25519-dalek = { version = "1.0.0", default-features = false, features = ["u64_backend", "rand_core", "rand"] }
x25519-dalek = { version = "1.1.0", default-features = false, features = ["u64_backend"] }
Expand Down
8 changes: 2 additions & 6 deletions iota-streams-core-keccak/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "iota-streams-core-keccak"
version = "0.3.1"
version = "0.1.2"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>"]
edition = "2018"
license = "Apache-2.0/MIT"
Expand All @@ -12,12 +12,8 @@ description = "IOTA Streams Spongos adapter for Keccak"
default = ["std"]
std = ["iota-streams-core/std"]

[lib]
name = "iota_streams_core_keccak"
path = "src/lib.rs"

[dependencies]
iota-streams-core = { version = "0.3.1", path = "../iota-streams-core", default-features = false }
iota-streams-core = { version = "0.1.2", path = "../iota-streams-core", default-features = false }
keccak = "0.1"

[dev-dependencies]
Expand Down
8 changes: 2 additions & 6 deletions iota-streams-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "iota-streams-core"
version = "0.3.1"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>"]
version = "0.1.2"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>", "Arnau Orriols <arnau.orriols@iota.org>"]
edition = "2018"
license = "Apache-2.0/MIT"
readme = "README.md"
Expand All @@ -16,10 +16,6 @@ err-location-log = []
sync-spin = ["spin"]
sync-parking-lot = ["parking_lot"]

[lib]
name = "iota_streams_core"
path = "src/lib.rs"

[dependencies]
# digest version should correspond to curve25519-dalek's version
digest = { version = "0.9", default-features = false }
Expand Down
14 changes: 5 additions & 9 deletions iota-streams-ddml/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "iota-streams-ddml"
version = "0.2.3"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>"]
version = "0.1.2"
authors = ["Vlad Semenov <vlad.semenov@iota.org>", "Dyrell Chapman <dyrell.chapman@iota.org>", "Brord van Wierst <brord@iota.org>", "Arnau Orriols <arnau.orriols@iota.org>"]
edition = "2018"
license = "Apache-2.0/MIT"
readme = "README.md"
Expand All @@ -13,16 +13,12 @@ default = ["std"]
# enable std
std = ["rand/std", "iota-streams-core/std", "iota-streams-core-edsig/std"]

[lib]
name = "iota_streams_ddml"
path = "src/lib.rs"

[dependencies]
iota-streams-core = { version = "0.3.1", path = "../iota-streams-core", default-features = false }
iota-streams-core-edsig = { version = "0.2.1", path = "../iota-streams-core-edsig", default-features = false }
iota-streams-core = { version = "0.1.2", path = "../iota-streams-core", default-features = false }
iota-streams-core-edsig = { version = "0.1.2", path = "../iota-streams-core-edsig", default-features = false }
# anyhow version is kept in sync with iota-client
rand = { version = "0.7", default-features = false }
hashbrown = { version = "0.8.2", default-features = false, optional = false, features = ["ahash"] }

[dev-dependencies]
iota-streams-core-keccak = { version = "0.3.1", path = "../iota-streams-core-keccak" }
iota-streams-core-keccak = { version = "0.1.2", path = "../iota-streams-core-keccak" }
6 changes: 0 additions & 6 deletions package-lock.json

This file was deleted.

1 change: 0 additions & 1 deletion package.json

This file was deleted.

0 comments on commit b94da49

Please sign in to comment.