Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Commit e111820

Browse files
committed
cargo: update users to 0.8
1 parent 9ca7ea4 commit e111820

File tree

3 files changed

+32
-30
lines changed

3 files changed

+32
-30
lines changed

Cargo.lock

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ license = "Apache-2.0"
66
repository = "https://github.com/coreos/update-ssh-keys"
77
documentation = "https://docs.rs/update-ssh-keys"
88
description = "A tool for managing authorized SSH keys"
9-
version = "0.3.1-alpha.0"
9+
version = "0.4.0-alpha.0"
1010

1111
[dependencies]
12+
# Private dependencies.
1213
clap = "2.26"
13-
error-chain = { version = "0.12", default-features = false }
1414
fs2 = "0.4"
15+
# Public dependencies, exposed through library API.
16+
error-chain = { version = "0.12", default-features = false }
1517
openssh-keys = "0.3"
16-
users = "0.7"
18+
users = "0.8"
1719

1820
[[bin]]
1921
name = "update-ssh-keys"

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ fn config() -> Result<Config> {
146146
if u == "root" {
147147
"core".into()
148148
} else {
149-
u
149+
u.to_string_lossy().into_owned()
150150
}
151151
});
152152

0 commit comments

Comments
 (0)