Merge pull request #3993 from deltachat/dependabot/cargo/yerpc-0.4.0

This commit is contained in:
dependabot[bot]
2023-01-31 10:30:16 +00:00
committed by GitHub
4 changed files with 7 additions and 7 deletions

8
Cargo.lock generated
View File

@@ -4298,9 +4298,9 @@ dependencies = [
[[package]]
name = "yerpc"
version = "0.3.1"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d1baa6fce4cf16d1cff91b557baceac3e363106f66e555fff906a7f82dce8153"
checksum = "3d383dfbc1842f5b915a01deeaea3523eef8653fcd734f79f6c696d51521c70f"
dependencies = [
"anyhow",
"async-channel",
@@ -4320,9 +4320,9 @@ dependencies = [
[[package]]
name = "yerpc_derive"
version = "0.3.0"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e70f944ca6789bc55ddc86839478f6d49c9d2a66e130f69fd1f8d171b3108990"
checksum = "cd5e0da8e7a58236986d9032bad52f30995999f94cd39142aa1144b5875e8bce"
dependencies = [
"convert_case",
"darling 0.14.1",

View File

@@ -21,7 +21,7 @@ log = "0.4"
async-channel = { version = "1.8.0" }
futures = { version = "0.3.26" }
serde_json = "1.0.91"
yerpc = { version = "^0.3.1", features = ["anyhow_expose"] }
yerpc = { version = "^0.4.0", features = ["anyhow_expose"] }
typescript-type-def = { version = "0.5.5", features = ["json_value"] }
tokio = { version = "1.25.0" }
sanitize-filename = "0.4"

View File

@@ -120,7 +120,7 @@ export class StdioTransport extends BaseTransport {
});
}
_send(message: RPC.Message): void {
_send(message: any): void {
const serialized = JSON.stringify(message);
this.input.write(serialized + "\n");
}

View File

@@ -22,4 +22,4 @@ log = "0.4"
serde_json = "1.0.91"
serde = { version = "1.0", features = ["derive"] }
tokio = { version = "1.25.0", features = ["io-std"] }
yerpc = { version = "0.3.1", features = ["anyhow_expose"] }
yerpc = { version = "0.4.0", features = ["anyhow_expose"] }