diff --git a/Cargo.toml b/Cargo.toml index 2a71973..974d37b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fluence" -version = "0.2.18" # remember to update html_root_url +version = "0.3.0" # remember to update html_root_url description = "Fluence backend SDK for developing backend applications for the Fluence network" documentation = "https://docs.rs/fluence/" repository = "https://github.com/fluencelabs/rust-sdk" @@ -18,8 +18,8 @@ all-features = true path = "src/lib.rs" [dependencies] -fluence-sdk-macro = { path = "crates/macro", version = "=0.2.18" } -fluence-sdk-main = { path = "crates/main", version = "=0.2.18" } +fluence-sdk-macro = { path = "crates/macro", version = "=0.3.0" } +fluence-sdk-main = { path = "crates/main", version = "=0.3.0" } [features] # Print some internal logs by log_utf8_string diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index 39426dc..0ee5096 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fluence-sdk-macro" -version = "0.2.18" # remember to update html_root_url +version = "0.3.0" # remember to update html_root_url edition = "2018" description = "Definition of `#[invoke_handler]` attribute" documentation = "https://docs.rs/fluence/fluence-sdk-macro" @@ -17,4 +17,4 @@ all-features = true proc-macro = true [dependencies] -fluence-sdk-wit = { path = "../wit", version = "=0.2.18" } +fluence-sdk-wit = { path = "../wit", version = "=0.3.0" } diff --git a/crates/macro/src/lib.rs b/crates/macro/src/lib.rs index 58f32ce..cf7f4d8 100644 --- a/crates/macro/src/lib.rs +++ b/crates/macro/src/lib.rs @@ -54,7 +54,7 @@ //! //! ``` -#![doc(html_root_url = "https://docs.rs/fluence-sdk-macro/0.2.18")] +#![doc(html_root_url = "https://docs.rs/fluence-sdk-macro/0.3.0")] #![deny( dead_code, nonstandard_style, diff --git a/crates/main/Cargo.toml b/crates/main/Cargo.toml index af1c889..e33be48 100644 --- a/crates/main/Cargo.toml +++ b/crates/main/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fluence-sdk-main" -version = "0.2.18" # remember to update html_root_url +version = "0.3.0" # remember to update html_root_url edition = "2018" description = "Rust SDK for applications for the Fluence network" documentation = "https://docs.rs/fluence/fluence-sdk-macro" @@ -18,7 +18,7 @@ path = "src/lib.rs" crate-type = ["rlib"] [dependencies] -fluence-sdk-macro = { path = "../macro", version = "=0.2.18" } +fluence-sdk-macro = { path = "../macro", version = "=0.3.0" } log = { version = "0.4.8", features = ["std"] } serde = "=1.0.118" diff --git a/crates/main/src/lib.rs b/crates/main/src/lib.rs index fc36a30..6968460 100644 --- a/crates/main/src/lib.rs +++ b/crates/main/src/lib.rs @@ -19,7 +19,7 @@ #![allow(clippy::missing_safety_doc)] #![allow(clippy::needless_doctest_main)] -#![doc(html_root_url = "https://docs.rs/fluence-sdk-main/0.2.18")] +#![doc(html_root_url = "https://docs.rs/fluence-sdk-main/0.3.0")] #![deny( dead_code, nonstandard_style, diff --git a/crates/main/src/mounted_binary.rs b/crates/main/src/mounted_binary.rs index dc635bb..2b46661 100644 --- a/crates/main/src/mounted_binary.rs +++ b/crates/main/src/mounted_binary.rs @@ -53,7 +53,7 @@ impl Result { /// /// SAFETY: /// The function relies on both stdout and stderr to contain valid UTF8 string. - unsafe fn into_std(self) -> std::result::Result { + pub unsafe fn into_std(self) -> std::result::Result { if self.ret_code == SUCCESS_CODE { Ok(String::from_utf8_unchecked(self.stdout)) } else { diff --git a/crates/wit/Cargo.toml b/crates/wit/Cargo.toml index e20488b..6fac922 100644 --- a/crates/wit/Cargo.toml +++ b/crates/wit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fluence-sdk-wit" -version = "0.2.18" # remember to update html_root_url +version = "0.3.0" # remember to update html_root_url edition = "2018" description = "Webassembly interface-types generator" documentation = "https://docs.rs/fluence/fluence-sdk-macro" diff --git a/crates/wit/src/lib.rs b/crates/wit/src/lib.rs index 8d52ae6..8a77a19 100644 --- a/crates/wit/src/lib.rs +++ b/crates/wit/src/lib.rs @@ -14,7 +14,7 @@ * limitations under the License. */ -#![doc(html_root_url = "https://docs.rs/wit-support/0.2.18")] +#![doc(html_root_url = "https://docs.rs/wit-support/0.3.0")] #![deny( dead_code, nonstandard_style, diff --git a/src/lib.rs b/src/lib.rs index d74b8c5..ff251cb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -55,7 +55,7 @@ //! pub fn curl_get(url: String) -> String; //! } //! ``` -#![doc(html_root_url = "https://docs.rs/fluence/0.2.18")] +#![doc(html_root_url = "https://docs.rs/fluence/0.3.0")] #![deny( dead_code, nonstandard_style,