Skip to content

Commit 9c3a37f

Browse files
committed
fix with new quick_xml version
1 parent f1260f3 commit 9c3a37f

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Cargo.lock

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2021"
88
[dependencies]
99
clap = { version = "4.5", features = ["derive", "env"] }
1010
memmem = "0.1.1"
11-
quick-xml = { version = "0.30.0", features = ["serialize"] }
11+
quick-xml = { version = "0.36.0", features = ["serialize"] }
1212
serde = { version = "1.0", features = [ "derive" ] }
1313
ssh2 = "0.9"
1414
ssh2-config = "0.2"

src/netconf/xml.rs

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ pub struct Capabilities {
2525
#[serde(rename = "rpc")]
2626
#[serde(deny_unknown_fields)]
2727
pub struct RPC {
28+
#[serde(rename = "$value")]
2829
pub rpc: RPCCommand,
2930
}
3031

0 commit comments

Comments
 (0)