Skip to content

Commit

Permalink
Upgrade Rust edition
Browse files Browse the repository at this point in the history
All crates in workspace are now 2021 Rust

commit-id:e6fac661
  • Loading branch information
vlad-ivanov-name committed Sep 30, 2023
1 parent e296d3a commit b34454b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion hyper_cgi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "hyper_cgi"
version = "22.10.25"
authors = ["Christian Schilling <[email protected]>", "Louis-Marie Givel <[email protected]>"]
edition = "2018"
edition = "2021"
license-file = "LICENSE"
description = "Run CGI scripts with hyper"
repository = "https://github.com/josh-project/josh"
Expand Down
2 changes: 1 addition & 1 deletion josh-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license-file = "LICENSE"
description = "GIT virtualization proxy"
keywords = ["git", "monorepo", "workflow", "scm"]
readme = "README.md"
edition = "2018"
edition = "2021"

[dependencies]
backtrace = "0.3.69"
Expand Down
2 changes: 1 addition & 1 deletion josh-filter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Christian Schilling <[email protected]>"]
description = "GIT filter cli"
edition = "2018"
edition = "2021"
keywords = ["git", "monorepo", "workflow", "scm"]
license-file = "LICENSE"
name = "josh-filter"
Expand Down
2 changes: 1 addition & 1 deletion josh-proxy/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
authors = ["Christian Schilling <[email protected]>"]
description = "GIT virtualization proxy"
edition = "2018"
edition = "2021"
keywords = ["git", "monorepo", "workflow", "scm"]
license-file = "LICENSE"
name = "josh-proxy"
Expand Down
1 change: 0 additions & 1 deletion josh-proxy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,6 @@ fn create_repo_base(path: &PathBuf) -> josh::JoshResult<josh::shell::Shell> {
.cloned()
.try_for_each(|(key, value)| -> JoshResult<()> {
use gix::config::parse::section::Key;
use std::convert::TryFrom;

let key = Key::try_from(key)
.map_err(|_| josh_error("unable to create config section"))?;
Expand Down
2 changes: 1 addition & 1 deletion josh-rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "josh-rpc"
version = "0.1.0"
edition = "2018"
edition = "2021"

[dependencies]
serde = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion josh-ssh-shell/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "josh-ssh-shell"
version = "0.1.0"
edition = "2018"
edition = "2021"

[dependencies]
clap = { workspace = true }
Expand Down

0 comments on commit b34454b

Please sign in to comment.