mirror of
https://github.com/fluencelabs/marine.git
synced 2024-12-12 06:45:32 +00:00
fix clippy warnings; update crate versions
This commit is contained in:
parent
908f74ec5b
commit
aa1da858ad
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -1465,7 +1465,7 @@ dependencies = [
|
||||
"clap",
|
||||
"exitfailure",
|
||||
"marine-it-generator 0.5.2",
|
||||
"marine-it-parser 0.6.1",
|
||||
"marine-it-parser 0.6.2",
|
||||
"marine-module-info-parser 0.1.0",
|
||||
"semver 0.11.0",
|
||||
"serde",
|
||||
@ -1499,7 +1499,7 @@ version = "0.5.2"
|
||||
dependencies = [
|
||||
"cargo_toml",
|
||||
"it-lilo",
|
||||
"marine-it-parser 0.6.1",
|
||||
"marine-it-parser 0.6.2",
|
||||
"marine-macro-impl",
|
||||
"once_cell",
|
||||
"serde",
|
||||
@ -1546,7 +1546,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "marine-it-parser"
|
||||
version = "0.6.1"
|
||||
version = "0.6.2"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"itertools 0.10.0",
|
||||
@ -1641,7 +1641,7 @@ dependencies = [
|
||||
"log",
|
||||
"marine-it-generator 0.5.2",
|
||||
"marine-it-interfaces 0.4.0",
|
||||
"marine-it-parser 0.6.1",
|
||||
"marine-it-parser 0.6.2",
|
||||
"marine-module-info-parser 0.1.0",
|
||||
"marine-module-interface",
|
||||
"marine-utils 0.2.0",
|
||||
|
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "marine-it-parser"
|
||||
description = "Fluence Marine interface types parser"
|
||||
version = "0.6.1"
|
||||
version = "0.6.2"
|
||||
authors = ["Fluence Labs"]
|
||||
license = "Apache-2.0"
|
||||
edition = "2018"
|
||||
|
@ -37,8 +37,8 @@ pub fn get_interface(mit: &MITInterfaces<'_>) -> RIResult<IModuleInterface> {
|
||||
} = get_record_types(mit, function_signatures.iter())?;
|
||||
|
||||
let mm_interface = IModuleInterface {
|
||||
record_types,
|
||||
export_record_types,
|
||||
record_types,
|
||||
function_signatures,
|
||||
};
|
||||
|
||||
|
@ -13,7 +13,7 @@ path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
marine-it-generator = { path = "../../crates/it-generator", version = "0.5.1" }
|
||||
marine-it-parser = { path = "../../crates/it-parser", version = "0.6.1" }
|
||||
marine-it-parser = { path = "../../crates/it-parser", version = "0.6.2" }
|
||||
marine-module-info-parser = { path = "../../crates/module-info-parser", version = "0.1.0" }
|
||||
|
||||
semver = "0.11.0"
|
||||
|
@ -94,7 +94,7 @@ fn aqua(args: &clap::ArgMatches<'_>) -> Result<(), anyhow::Error> {
|
||||
None => {
|
||||
let service_name = wasm_path
|
||||
.file_stem()
|
||||
.ok_or(anyhow::Error::msg("provided path isn't a path to a file"))?;
|
||||
.ok_or_else(|| anyhow::Error::msg("provided path isn't a path to a file"))?;
|
||||
|
||||
service_name.to_string_lossy()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user