Skip to content

Commit 3639656

Browse files
authored
RUST-623 Upgrade os_info to 3.0.1 (#280)
1 parent 7aff2e2 commit 3639656

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ hex = "0.4.0"
3838
hmac = "~0.7.1"
3939
lazy_static = "1.4.0"
4040
md-5 = "0.8.0"
41-
os_info = { version = "2.0.6", default-features = false }
41+
os_info = { version = "3.0.1", default-features = false }
4242
percent-encoding = "2.0.0"
4343
rand = { version = "0.7.2", features = ["small_rng"] }
4444
serde_with = "1.3.1"

src/cmap/establish/handshake/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ lazy_static! {
120120
if info.os_type() != Type::Unknown {
121121
let version = info.version();
122122

123-
if *version != Version::unknown() {
123+
if *version != Version::Unknown {
124124
metadata.os.version = Some(info.version().to_string());
125125
}
126126
}

0 commit comments

Comments
 (0)