diff --git a/Cargo.toml b/Cargo.toml index 02b4ddea8e..72f385f9c7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ both threadsafe and memory safe and allows both reading and writing git repositories. """ categories = ["api-bindings"] -edition = "2018" +edition = "2021" [dependencies] url = "2.5.4" diff --git a/git2-curl/Cargo.toml b/git2-curl/Cargo.toml index 3ce384f3d3..2c5ca141e0 100644 --- a/git2-curl/Cargo.toml +++ b/git2-curl/Cargo.toml @@ -10,7 +10,7 @@ Backend for an HTTP transport in libgit2 powered by libcurl. Intended to be used with the git2 crate. """ -edition = "2018" +edition = "2021" [dependencies] curl = "0.4.33" diff --git a/libgit2-sys/Cargo.toml b/libgit2-sys/Cargo.toml index 2bbbd5338c..b2df3ca828 100644 --- a/libgit2-sys/Cargo.toml +++ b/libgit2-sys/Cargo.toml @@ -14,7 +14,7 @@ exclude = [ "libgit2/fuzzers/*", "libgit2/tests/*", ] -edition = "2018" +edition = "2021" [lib] name = "libgit2_sys" diff --git a/systest/Cargo.toml b/systest/Cargo.toml index fe5cabcf23..708cda4303 100644 --- a/systest/Cargo.toml +++ b/systest/Cargo.toml @@ -3,7 +3,7 @@ name = "systest" version = "0.1.0" authors = ["Alex Crichton "] build = "build.rs" -edition = "2018" +edition = "2021" [dependencies] libgit2-sys = { path = "../libgit2-sys", features = ['https', 'ssh'] }