Skip to content

Commit

Permalink
Update to edition 2021 and resolver 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
de-vri-es committed Nov 15, 2023
1 parent d42c984 commit 589cb83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ repository = "https://github.com/fusion-engineering/rust-git-version"
documentation = "https://docs.rs/git-version/"
keywords = ["git", "version", "build"]
categories = ["development-tools", "development-tools::build-utils"]
edition = "2018"
edition = "2021"
readme = "README.md"

[dependencies]
git-version-macro = { version = "=0.3.6", path = "git-version-macro" }

[workspace]
resolver = "2"
members = ["git-version-macro"]
2 changes: 1 addition & 1 deletion git-version-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = [
"Maarten de Vries <[email protected]>",
"Mara Bos <[email protected]>",
]
edition = "2018"
edition = "2021"
description = "Internal macro crate for git-version."
repository = "https://github.com/fusion-engineering/rust-git-version"
keywords = ["git"]
Expand Down
2 changes: 0 additions & 2 deletions git-version-macro/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
extern crate proc_macro;

use proc_macro::TokenStream;
use proc_macro2::{Span, TokenStream as TokenStream2};
use quote::{quote, ToTokens};
Expand Down

0 comments on commit 589cb83

Please sign in to comment.