reexport PassingStyle

This commit is contained in:
vms 2021-05-19 16:17:58 +03:00
parent 2ac0699905
commit 9e383237aa
10 changed files with 61 additions and 60 deletions

92
Cargo.lock generated
View File

@ -385,24 +385,24 @@ dependencies = [
[[package]]
name = "fluence"
version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a92116bbed3be3afee952d62d6009f1a365bde985a1cf59fb933144308660743"
dependencies = [
"fluence-sdk-main 0.6.8",
"marine-macro 0.6.8",
"marine-timestamp-macro 0.6.8",
"serde",
"trybuild",
]
[[package]]
name = "fluence"
version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a92116bbed3be3afee952d62d6009f1a365bde985a1cf59fb933144308660743"
version = "0.6.9"
dependencies = [
"fluence-sdk-main 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)",
"marine-macro 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)",
"marine-timestamp-macro 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)",
"fluence-sdk-main 0.6.9",
"marine-macro 0.6.9",
"marine-timestamp-macro 0.6.9",
"serde",
"trybuild",
]
[[package]]
@ -428,8 +428,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9421599c5540e50f3854a0a48702c31408ac1cfb06314fe391792daa3a9d800b"
dependencies = [
"cmd_lib",
"fluence 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)",
"fluence-sdk-main 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)",
"fluence 0.6.8",
"fluence-sdk-main 0.6.8",
"itertools 0.9.0",
"log",
"marine-runtime",
@ -458,17 +458,6 @@ dependencies = [
"wast",
]
[[package]]
name = "fluence-sdk-main"
version = "0.6.8"
dependencies = [
"lazy_static",
"log",
"marine-macro 0.6.8",
"serde",
"simple_logger",
]
[[package]]
name = "fluence-sdk-main"
version = "0.6.8"
@ -476,10 +465,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fcbf30472768d331ea6a6853bdf1fc6166ba697d46a9ce74c3ccf5764a58414a"
dependencies = [
"log",
"marine-macro 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)",
"marine-macro 0.6.8",
"serde",
]
[[package]]
name = "fluence-sdk-main"
version = "0.6.9"
dependencies = [
"lazy_static",
"log",
"marine-macro 0.6.9",
"serde",
"simple_logger",
]
[[package]]
name = "fluence-sdk-wit"
version = "0.6.1"
@ -815,30 +815,17 @@ dependencies = [
[[package]]
name = "marine-macro"
version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9107f5956f578d4815a17c963836cffadf481801ae453e0247693e87f1de734"
dependencies = [
"marine-macro-impl 0.6.8",
]
[[package]]
name = "marine-macro"
version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9107f5956f578d4815a17c963836cffadf481801ae453e0247693e87f1de734"
version = "0.6.9"
dependencies = [
"marine-macro-impl 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "marine-macro-impl"
version = "0.6.8"
dependencies = [
"pretty_assertions",
"proc-macro2",
"quote",
"serde",
"serde_json",
"syn",
"uuid",
"marine-macro-impl 0.6.9",
]
[[package]]
@ -855,6 +842,19 @@ dependencies = [
"uuid",
]
[[package]]
name = "marine-macro-impl"
version = "0.6.9"
dependencies = [
"pretty_assertions",
"proc-macro2",
"quote",
"serde",
"serde_json",
"syn",
"uuid",
]
[[package]]
name = "marine-module-info-parser"
version = "0.1.0"
@ -863,7 +863,7 @@ checksum = "003017e314cebb5c774569a4257f5eca82106cff170b124c6712f2fcd3ceefef"
dependencies = [
"anyhow",
"chrono",
"fluence-sdk-main 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)",
"fluence-sdk-main 0.6.8",
"semver 0.11.0",
"serde",
"thiserror",
@ -928,6 +928,8 @@ dependencies = [
[[package]]
name = "marine-timestamp-macro"
version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ecb3037577a262360b7e2f0fb5470b7ad0aabcefcb8d2421a4871a854d0a37b2"
dependencies = [
"chrono",
"quote",
@ -935,9 +937,7 @@ dependencies = [
[[package]]
name = "marine-timestamp-macro"
version = "0.6.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ecb3037577a262360b7e2f0fb5470b7ad0aabcefcb8d2421a4871a854d0a37b2"
version = "0.6.9"
dependencies = [
"chrono",
"quote",
@ -1183,9 +1183,9 @@ dependencies = [
[[package]]
name = "rayon"
version = "1.5.0"
version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b0d8e0819fadc20c74ea8373106ead0600e3a67ef1fe8da56e39b9ae7275674"
checksum = "c06aca804d41dbc8ba42dfd964f0d01334eceb64314b9ecf7c5fad5188a06d90"
dependencies = [
"autocfg",
"crossbeam-deque",
@ -1195,9 +1195,9 @@ dependencies = [
[[package]]
name = "rayon-core"
version = "1.9.0"
version = "1.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ab346ac5921dc62ffa9f89b7a773907511cdfa5490c572ae9be1be33e8afa4a"
checksum = "d78120e2c850279833f1dd3582f730c4ab53ed95aeaaaa862a2a5c71b1656d8e"
dependencies = [
"crossbeam-channel",
"crossbeam-deque",

View File

@ -1,6 +1,6 @@
[package]
name = "fluence-sdk-main"
version = "0.6.8" # remember to update html_root_url
version = "0.6.9" # remember to update html_root_url
edition = "2018"
description = "Rust SDK for applications for the Fluence network"
documentation = "https://docs.rs/fluence-sdk-main"
@ -19,7 +19,7 @@ crate-type = ["rlib"]
doctest = false
[dependencies]
marine-macro = { path = "../marine-macro", version = "=0.6.8" }
marine-macro = { path = "../marine-macro", version = "=0.6.9" }
log = { version = "0.4.8", features = ["std"] }
serde = "=1.0.118"

View File

@ -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.6.8")]
#![doc(html_root_url = "https://docs.rs/fluence-sdk-main/0.6.9")]
#![deny(
dead_code,
nonstandard_style,

View File

@ -1,6 +1,6 @@
[package]
name = "marine-macro-impl"
version = "0.6.8" # remember to update html_root_url
version = "0.6.9" # remember to update html_root_url
edition = "2018"
description = "Implementation of the `#[marine]` macro"
documentation = "https://docs.rs/fluence/marine-macro-impl"

View File

@ -14,7 +14,7 @@
* limitations under the License.
*/
#![doc(html_root_url = "https://docs.rs/marine-macro-impl/0.6.8")]
#![doc(html_root_url = "https://docs.rs/marine-macro-impl/0.6.9")]
#![deny(
dead_code,
nonstandard_style,
@ -42,6 +42,7 @@ mod wasm_type;
pub use export_ast_types::*;
pub use crate::marine_macro_impl::marine;
pub use parsed_type::ParsedType;
pub use parsed_type::PassingStyle;
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;

View File

@ -1,6 +1,6 @@
[package]
name = "marine-macro"
version = "0.6.8" # remember to update html_root_url
version = "0.6.9" # 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.8" }
marine-macro-impl = { path = "../marine-macro-impl", version = "=0.6.9" }

View File

@ -50,7 +50,7 @@
//!
//! ```
#![doc(html_root_url = "https://docs.rs/marine-macro/0.6.8")]
#![doc(html_root_url = "https://docs.rs/marine-macro/0.6.9")]
#![deny(
dead_code,
nonstandard_style,

View File

@ -1,6 +1,6 @@
[package]
name = "marine-timestamp-macro"
version = "0.6.8" # remember to update html_root_url
version = "0.6.9" # remember to update html_root_url
edition = "2018"
description = "Definition of the `#[build_timestamp]` macro"
documentation = "https://docs.rs/fluence/marine-timestamp-macro"

View File

@ -1,6 +1,6 @@
[package]
name = "fluence"
version = "0.6.8" # remember to update html_root_url
version = "0.6.9" # 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,9 +18,9 @@ path = "src/lib.rs"
doctest = false
[dependencies]
marine-macro = { path = "../crates/marine-macro", version = "=0.6.8" }
fluence-sdk-main = { path = "../crates/main", version = "=0.6.8" }
marine-timestamp-macro = { path = "../crates/timestamp-macro", version = "=0.6.8" }
marine-macro = { path = "../crates/marine-macro", version = "=0.6.9" }
fluence-sdk-main = { path = "../crates/main", version = "=0.6.9" }
marine-timestamp-macro = { path = "../crates/timestamp-macro", version = "=0.6.9" }
serde = { version = "1.0.118", features = ["derive"]}

View File

@ -55,7 +55,7 @@
//! pub fn curl_get(url: String) -> String;
//! }
//! ```
#![doc(html_root_url = "https://docs.rs/fluence/0.6.8")]
#![doc(html_root_url = "https://docs.rs/fluence/0.6.9")]
#![deny(
dead_code,
nonstandard_style,