Skip to content

Commit 5286c88

Browse files
Upgrade Rust edition
All crates in workspace are now 2021 Rust commit-id:e6fac661
1 parent cce221b commit 5286c88

File tree

7 files changed

+6
-7
lines changed

7 files changed

+6
-7
lines changed

hyper_cgi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "hyper_cgi"
33
version = "22.10.25"
44
authors = ["Christian Schilling <[email protected]>", "Louis-Marie Givel <[email protected]>"]
5-
edition = "2018"
5+
edition = "2021"
66
license-file = "LICENSE"
77
description = "Run CGI scripts with hyper"
88
repository = "https://github.com/josh-project/josh"

josh-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license-file = "LICENSE"
77
description = "GIT virtualization proxy"
88
keywords = ["git", "monorepo", "workflow", "scm"]
99
readme = "README.md"
10-
edition = "2018"
10+
edition = "2021"
1111

1212
[dependencies]
1313
backtrace = "0.3.69"

josh-filter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["Christian Schilling <[email protected]>"]
33
description = "GIT filter cli"
4-
edition = "2018"
4+
edition = "2021"
55
keywords = ["git", "monorepo", "workflow", "scm"]
66
license-file = "LICENSE"
77
name = "josh-filter"

josh-proxy/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["Christian Schilling <[email protected]>"]
33
description = "GIT virtualization proxy"
4-
edition = "2018"
4+
edition = "2021"
55
keywords = ["git", "monorepo", "workflow", "scm"]
66
license-file = "LICENSE"
77
name = "josh-proxy"

josh-proxy/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,6 @@ fn create_repo_base(path: &PathBuf) -> josh::JoshResult<josh::shell::Shell> {
510510
.cloned()
511511
.try_for_each(|(key, value)| -> JoshResult<()> {
512512
use gix::config::parse::section::Key;
513-
use std::convert::TryFrom;
514513

515514
let key = Key::try_from(key)
516515
.map_err(|_| josh_error("unable to create config section"))?;

josh-rpc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "josh-rpc"
33
version = "0.1.0"
4-
edition = "2018"
4+
edition = "2021"
55

66
[dependencies]
77
serde = { workspace = true }

josh-ssh-shell/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "josh-ssh-shell"
33
version = "0.1.0"
4-
edition = "2018"
4+
edition = "2021"
55

66
[dependencies]
77
clap = { workspace = true }

0 commit comments

Comments
 (0)