Skip to content

Commit

Permalink
Touch up dependency specs
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 14, 2023
1 parent 567bf7a commit d414a31
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 32 deletions.
22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@ test = ["syn-test-suite/all-features"]

[dependencies]
proc-macro2 = { version = "1.0.46", default-features = false }
quote = { version = "1.0", optional = true, default-features = false }
unicode-ident = "1.0"
quote = { version = "1", optional = true, default-features = false }
unicode-ident = "1"

[dev-dependencies]
anyhow = "1.0"
automod = "1.0"
flate2 = "1.0"
insta = "1.0"
rayon = "1.0"
ref-cast = "1.0"
regex = "1.0"
anyhow = "1"
automod = "1"
flate2 = "1"
insta = "1"
rayon = "1"
ref-cast = "1"
regex = "1"
reqwest = { version = "0.11", features = ["blocking"] }
rustversion = "1.0"
rustversion = "1"
syn-test-suite = { version = "0", path = "tests/features" }
tar = "0.4.16"
termcolor = "1.0"
termcolor = "1"
walkdir = "2.1"

[lib]
Expand Down
12 changes: 6 additions & 6 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ edition = "2021"
publish = false # this is an internal crate which should never be published

[dependencies]
anyhow = "1.0"
anyhow = "1"
color-backtrace = "0.4"
indexmap = { version = "1.0", features = ["serde-1"] }
indexmap = { version = "1", features = ["serde-1"] }
inflections = "1.1"
prettyplease = "0.1"
proc-macro2 = { version = "1.0.20", features = ["span-locations"] }
quote = "1.0"
semver = { version = "1.0", features = ["serde"] }
quote = "1"
semver = { version = "1", features = ["serde"] }
serde = { version = "1.0.88", features = ["derive"] }
serde_json = "1.0.38"
syn-codegen = { path = "../json" }
syn = { version = "1.0", features = ["derive", "parsing", "printing", "full"], default-features = false }
thiserror = "1.0"
syn = { version = "1", features = ["derive", "parsing", "printing", "full"], default-features = false }
thiserror = "1"
toml = "0.5"

[workspace]
2 changes: 1 addition & 1 deletion dev/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ path = "main.rs"
name = "syn-dev"

[dependencies]
quote = "1.0"
quote = "1"

[dependencies.syn]
path = ".."
Expand Down
2 changes: 1 addition & 1 deletion examples/dump-syntax/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ publish = false

[dependencies]
colored = "2"
proc-macro2 = { version = "1.0", features = ["span-locations"] }
proc-macro2 = { version = "1", features = ["span-locations"] }

[dependencies.syn]
path = "../.."
Expand Down
4 changes: 2 additions & 2 deletions examples/heapsize/heapsize_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ publish = false
proc-macro = true

[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
proc-macro2 = "1"
quote = "1"
syn = { path = "../../.." }
4 changes: 2 additions & 2 deletions examples/lazy-static/lazy-static/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ publish = false
proc-macro = true

[dependencies]
proc-macro2 = { version = "1.0", features = ["nightly"] }
quote = "1.0"
proc-macro2 = { version = "1", features = ["nightly"] }
quote = "1"
syn = { path = "../../../", features = ["full"] }
4 changes: 2 additions & 2 deletions examples/trace-var/trace-var/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ publish = false
proc-macro = true

[dependencies]
proc-macro2 = { version = "1.0", features = ["nightly"] }
quote = "1.0"
proc-macro2 = { version = "1", features = ["nightly"] }
quote = "1"
syn = { path = "../../../", features = ["full", "fold"] }
6 changes: 3 additions & 3 deletions json/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/syn"

[dependencies]
indexmap = { version = "1.0", features = ["serde-1"] }
semver = { version = "1.0", features = ["serde"] }
indexmap = { version = "1", features = ["serde-1"] }
semver = { version = "1", features = ["serde"] }
serde = { version = "1.0.88", features = ["derive"] }

[dev-dependencies]
serde_json = "1.0"
serde_json = "1"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
6 changes: 3 additions & 3 deletions tests/crates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ name = "syn-parse-crates"
path = "main.rs"

[dependencies]
anyhow = "1.0"
flate2 = "1.0"
rayon = "1.0"
anyhow = "1"
flate2 = "1"
rayon = "1"
syn = { path = "../..", default-features = false, features = ["full", "parsing"] }
tar = "0.4"
2 changes: 1 addition & 1 deletion tests/features/macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ path = "lib.rs"
proc-macro = true

[dependencies]
termcolor = "1.0"
termcolor = "1"

[features]
all-features = []

0 comments on commit d414a31

Please sign in to comment.