Skip to content

Commit

Permalink
remove proc-macro2 dependency
Browse files Browse the repository at this point in the history
Huh, I deliberately avoided using it, but somehow still put it in
Cargo.toml in non-dev dependencies?
  • Loading branch information
matklad committed Jul 21, 2021
1 parent 92814e1 commit fd9ab26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xflags"
version = "0.2.2" # NB: update me in 3 places
version = "0.2.3" # NB: update me in 3 places
description = "Moderately simple command line arguments parser."
categories = ["command-line-interface"]
license = "MIT OR Apache-2.0"
Expand All @@ -14,4 +14,4 @@ exclude = [".github/", "bors.toml", "rustfmt.toml"]
members = ["xtask", "xflags-macros"]

[dependencies]
xflags-macros = { path = "./xflags-macros", version = "=0.2.2" }
xflags-macros = { path = "./xflags-macros", version = "=0.2.3" }
6 changes: 2 additions & 4 deletions xflags-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xflags-macros"
version = "0.2.2"
version = "0.2.3"
description = "Private implementation details of xflags."
license = "MIT OR Apache-2.0"
repository = "https://github.com/matklad/xflags"
Expand All @@ -10,9 +10,7 @@ edition = "2018"
[lib]
proc-macro = true

[dependencies]
proc-macro2 = "1"

[dev-dependencies]
proc-macro2 = "1"

This comment has been minimized.

Copy link
@matklad

matklad Jul 21, 2021

Author Owner

cc @epage thanks to your benchmark, I've noticed that xflags has way more deps then I'd expect it to have :-) You might want to cargo update -p xflags

expect-test = "1"
xflags = { path = "../" }

0 comments on commit fd9ab26

Please sign in to comment.