From f89113f3e33ccad46d098f5929b929bef0503365 Mon Sep 17 00:00:00 2001 From: vms Date: Wed, 12 May 2021 16:09:15 +0300 Subject: [PATCH] reexport __fce_generated_section__ --- crates/main/Cargo.toml | 4 ++-- crates/marine-macro-impl/Cargo.toml | 2 +- crates/marine-macro-impl/src/lib.rs | 2 ++ crates/marine-macro/Cargo.toml | 4 ++-- fluence/Cargo.toml | 6 +++--- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/crates/main/Cargo.toml b/crates/main/Cargo.toml index c2b8868..9224beb 100644 --- a/crates/main/Cargo.toml +++ b/crates/main/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fluence-sdk-main" -version = "0.6.3" # remember to update html_root_url +version = "0.6.4" # remember to update html_root_url edition = "2018" description = "Rust SDK for applications for the Fluence network" documentation = "https://docs.rs/fluence/marine-macro" @@ -19,7 +19,7 @@ crate-type = ["rlib"] doctest = false [dependencies] -marine-macro = { path = "../marine-macro", version = "=0.6.3" } +marine-macro = { path = "../marine-macro", version = "=0.6.4" } log = { version = "0.4.8", features = ["std"] } serde = "=1.0.118" diff --git a/crates/marine-macro-impl/Cargo.toml b/crates/marine-macro-impl/Cargo.toml index 9c95cb2..7fac0e4 100644 --- a/crates/marine-macro-impl/Cargo.toml +++ b/crates/marine-macro-impl/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "marine-macro-impl" -version = "0.6.3" # remember to update html_root_url +version = "0.6.4" # remember to update html_root_url edition = "2018" description = "Implementation of the `#[marine]` macro" documentation = "https://docs.rs/fluence/marine-macro" diff --git a/crates/marine-macro-impl/src/lib.rs b/crates/marine-macro-impl/src/lib.rs index 495ec4e..220e231 100644 --- a/crates/marine-macro-impl/src/lib.rs +++ b/crates/marine-macro-impl/src/lib.rs @@ -46,3 +46,5 @@ pub use token_stream_generator::GENERATED_WRAPPER_FUNC_PREFIX; pub use token_stream_generator::GENERATED_SECTION_PREFIX; pub use token_stream_generator::GENERATED_GLOBAL_PREFIX; pub use wasm_type::RustType; + +pub const GENERATED_SECTION_PREFIX_FCE: &str = "__fce_generated_section__"; diff --git a/crates/marine-macro/Cargo.toml b/crates/marine-macro/Cargo.toml index ec9d54b..752ac43 100644 --- a/crates/marine-macro/Cargo.toml +++ b/crates/marine-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "marine-macro" -version = "0.6.3" # remember to update html_root_url +version = "0.6.4" # remember to update html_root_url edition = "2018" description = "Definition of the `#[marine]` macro" documentation = "https://docs.rs/fluence/marine-macro" @@ -18,4 +18,4 @@ proc-macro = true doctest = false [dependencies] -marine-macro-impl = { path = "../marine-macro-impl", version = "=0.6.3" } +marine-macro-impl = { path = "../marine-macro-impl", version = "=0.6.4" } diff --git a/fluence/Cargo.toml b/fluence/Cargo.toml index 027500f..50c2f20 100644 --- a/fluence/Cargo.toml +++ b/fluence/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fluence" -version = "0.6.4" # remember to update html_root_url +version = "0.6.5" # 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" @@ -19,8 +19,8 @@ path = "src/lib.rs" doctest = false [dependencies] -marine-macro = { path = "../crates/marine-macro", version = "=0.6.3" } -fluence-sdk-main = { path = "../crates/main", version = "=0.6.3" } +marine-macro = { path = "../crates/marine-macro", version = "=0.6.4" } +fluence-sdk-main = { path = "../crates/main", version = "=0.6.4" } marine-timestamp-macro = { path = "../crates/timestamp-macro", version = "=0.6.2" } serde = { version = "1.0.118", features = ["derive"]}