Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fluencelabs/marine-rs-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: marine-rs-sdk-v0.10.2
Choose a base ref
...
head repository: fluencelabs/marine-rs-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: marine-rs-sdk-v0.10.3
Choose a head ref
  • 2 commits
  • 14 files changed
  • 2 contributors

Commits on Dec 27, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    22863bc View commit details

Commits on Dec 28, 2023

  1. chore(master): release marine-rs-sdk 0.10.3 (#149)

    * chore(master): release marine-rs-sdk 0.10.3
    
    * chore: Bump version to 0.10.3
    fluencebot authored Dec 28, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e112719 View commit details
2 changes: 1 addition & 1 deletion .github/release-please/manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.10.2"
".": "0.10.3"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.10.3](https://github.com/fluencelabs/marine-rs-sdk/compare/marine-rs-sdk-v0.10.2...marine-rs-sdk-v0.10.3) (2023-12-27)


### Features

* **call-parameters:** optional rkyv support ([#148](https://github.com/fluencelabs/marine-rs-sdk/issues/148)) ([22863bc](https://github.com/fluencelabs/marine-rs-sdk/commit/22863bc94f620fcd9fee4dc1476a71248cc94963))

## [0.10.2](https://github.com/fluencelabs/marine-rs-sdk/compare/marine-rs-sdk-v0.10.1...marine-rs-sdk-v0.10.2) (2023-12-12)


220 changes: 211 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "marine-rs-sdk"
version = "0.10.2"
version = "0.10.3"
description = "Fluence backend SDK for developing backend applications for the Fluence network"
documentation = "https://docs.rs/fluence"
repository = "https://github.com/fluencelabs/marine-rs-sdk"
@@ -18,10 +18,10 @@ path = "src/lib.rs"
doctest = false

[dependencies]
marine-call-parameters = { path = "crates/call-parameters", version = "=0.10.2" }
marine-macro = { path = "crates/marine-macro", version = "=0.10.2" }
marine-rs-sdk-main = { path = "crates/main", version = "=0.10.2" } # warning: silent compilation break on minor verison bump. See docs/update-guide.md for details
marine-timestamp-macro = { path = "crates/timestamp-macro", version = "=0.10.2" }
marine-call-parameters = { path = "crates/call-parameters", version = "=0.10.3" }
marine-macro = { path = "crates/marine-macro", version = "=0.10.3" }
marine-rs-sdk-main = { path = "crates/main", version = "=0.10.3" } # warning: silent compilation break on minor verison bump. See docs/update-guide.md for details
marine-timestamp-macro = { path = "crates/timestamp-macro", version = "=0.10.3" }

serde = { version = "1.0.189", features = ["derive"]}

7 changes: 4 additions & 3 deletions crates/call-parameters/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "marine-call-parameters"
version = "0.10.2"
version = "0.10.3"
edition = "2021"
description = "Contains CallParameters and SecurityTetralets structures for marine-rs-sdk"
documentation = "https://docs.rs/fluence"
@@ -11,11 +11,12 @@ categories = ["api-bindings", "wasm"]
license = "Apache-2.0"

[dependencies]
rkyv = { version = "0.7.43", features = ["validation", "strict"], optional = true }
serde = "1.0.189"

[target.'cfg(target_arch = "wasm32")'.dependencies]
marine-macro = { path = "../marine-macro", version = "=0.10.2" }
marine-rs-sdk-main = { path = "../main", version = "=0.10.2" }
marine-macro = { path = "../marine-macro", version = "=0.10.3" }
marine-rs-sdk-main = { path = "../main", version = "=0.10.3" }

[features]
default = ["marine-abi"]
10 changes: 10 additions & 0 deletions crates/call-parameters/src/lib.rs
Original file line number Diff line number Diff line change
@@ -23,6 +23,11 @@ use serde::Deserialize;
/// Describes an origin that set corresponding value.
#[cfg_attr(all(target_arch = "wasm32", feature = "marine-abi"), marine)]
#[derive(Clone, Debug, Default, Eq, PartialEq, Hash, Serialize, Deserialize)]
#[cfg_attr(
feature = "rkyv",
derive(::rkyv::Archive, ::rkyv::Serialize, ::rkyv::Deserialize)
)]
#[cfg_attr(feature = "rkyv", archive(check_bytes))]
pub struct SecurityTetraplet {
/// Id of a peer where corresponding value was set.
pub peer_pk: String,
@@ -74,6 +79,11 @@ impl SecurityTetraplet {
/// This struct contains parameters that would be accessible by Wasm modules.
#[cfg_attr(all(target_arch = "wasm32", feature = "marine-abi"), marine)]
#[derive(Clone, PartialEq, Default, Eq, Debug, Serialize, Deserialize)]
#[cfg_attr(
feature = "rkyv",
derive(::rkyv::Archive, ::rkyv::Serialize, ::rkyv::Deserialize)
)]
#[cfg_attr(feature = "rkyv", archive(check_bytes))]
pub struct CallParameters {
/// Peer id of the AIR script initiator.
pub init_peer_id: String,
2 changes: 1 addition & 1 deletion crates/macro-testing-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "marine-macro-testing-utils"
version = "0.10.2"
version = "0.10.3"
edition = "2018"
description = "Some functions for testing procedural macros"
documentation = "https://docs.rs/fluence/marine-macro-testing-utils"
2 changes: 1 addition & 1 deletion crates/main/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "marine-rs-sdk-main"
version = "0.10.2"
version = "0.10.3"
edition = "2018"
description = "Contains logger, allocators and several other modules for marine-rs-sdk"
documentation = "https://docs.rs/marine-rs-sdk-main"
2 changes: 1 addition & 1 deletion crates/main/src/lib.rs
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
#![allow(clippy::missing_safety_doc)]
#![allow(clippy::needless_doctest_main)]
#![doc(html_root_url = "https://docs.rs/marine-rs-sdk-main/0.10.2")] // x-release-please-version
#![doc(html_root_url = "https://docs.rs/marine-rs-sdk-main/0.10.3")] // x-release-please-version
#![deny(
dead_code,
nonstandard_style,
2 changes: 1 addition & 1 deletion crates/marine-macro-impl/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "marine-macro-impl"
version = "0.10.2"
version = "0.10.3"
edition = "2018"
description = "Implementation of the `#[marine]` macro"
documentation = "https://docs.rs/fluence/marine-macro-impl"
2 changes: 1 addition & 1 deletion crates/marine-macro-impl/src/lib.rs
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
* limitations under the License.
*/

#![doc(html_root_url = "https://docs.rs/marine-macro-impl/0.10.2")] // x-release-please-version
#![doc(html_root_url = "https://docs.rs/marine-macro-impl/0.10.3")] // x-release-please-version
#![deny(
dead_code,
nonstandard_style,
6 changes: 3 additions & 3 deletions crates/marine-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "marine-macro"
version = "0.10.2"
version = "0.10.3"
edition = "2018"
description = "Definition of the `#[marine]` macro"
documentation = "https://docs.rs/fluence/marine-macro"
@@ -18,5 +18,5 @@ proc-macro = true
doctest = false

[dependencies]
marine-macro-impl = { path = "../marine-macro-impl", version = "=0.10.2" }
marine-rs-sdk-main = { path = "../main", version = "=0.10.2" }
marine-macro-impl = { path = "../marine-macro-impl", version = "=0.10.3" }
marine-rs-sdk-main = { path = "../main", version = "=0.10.3" }
2 changes: 1 addition & 1 deletion crates/timestamp-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "marine-timestamp-macro"
version = "0.10.2"
version = "0.10.3"
edition = "2018"
description = "Definition of the `#[build_timestamp]` macro"
documentation = "https://docs.rs/fluence/marine-timestamp-macro"
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@
//! pub fn curl_get(url: String) -> String;
//! }
//! ```
#![doc(html_root_url = "https://docs.rs/sdk/0.10.2")] // x-release-please-version
#![doc(html_root_url = "https://docs.rs/sdk/0.10.3")] // x-release-please-version
#![deny(
dead_code,
nonstandard_style,