Skip to content

Commit

Permalink
Merge pull request #10 from xFrednet/00-bump-syn-dep
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhenrymantilla authored Sep 2, 2023
2 parents aa239d7 + b5960e2 commit aac3c7e
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
rust-toolchains:
- 1.43.0
- 1.56.0
- stable
- beta
cargo-locked: ["--locked", ""]
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
- macos-latest
- windows-latest
rust-toolchains:
- 1.43.0
- 1.56.0
- stable
- nightly
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/future-proof.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- macos-latest
- windows-latest
rust-toolchains:
- 1.42.0
- 1.56.0
- stable
- beta
- nightly
Expand Down
26 changes: 14 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ proc-macro = true

[package]
name = "visibility"
version = "0.0.1"
version = "0.1.0"
authors = [
"Daniel Henry-Mantilla <daniel.henry.mantilla@gmail.com>",
]
edition = "2018"
edition = "2021"

license = "Zlib OR MIT OR Apache-2.0"

Expand All @@ -31,9 +31,9 @@ categories = [
]

[dependencies]
syn = { version = "1.0.0", features = ["full"] }
quote = "1.0.0"
proc-macro2 = "1.0.0"
syn = { version = "2.0.0", features = ["full"] }
quote = "1.0.26"
proc-macro2 = "1.0.60"

[features]
nightly = []
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Repository](https://img.shields.io/badge/repository-GitHub-brightgreen.svg)](https://github.com/danielhenrymantilla/visibility.rs)
[![Latest version](https://img.shields.io/crates/v/visibility.svg)](https://crates.io/crates/visibility)
[![Documentation](https://docs.rs/visibility/badge.svg)](https://docs.rs/visibility)
[![MSRV](https://img.shields.io/badge/MSRV-1.43.0-white)](https://gist.github.com/danielhenrymantilla/8e5b721b3929084562f8f65668920c33)
[![MSRV](https://img.shields.io/badge/MSRV-1.56.0-white)](https://gist.github.com/danielhenrymantilla/8e5b721b3929084562f8f65668920c33)
[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)
[![License](https://img.shields.io/crates/l/visibility.svg)](https://github.com/danielhenrymantilla/visibility.rs/blob/master/LICENSE)
[![CI](https://github.com/danielhenrymantilla/visibility.rs/workflows/CI/badge.svg)](https://github.com/danielhenrymantilla/visibility.rs/actions)
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.43.0
1.56.0
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ fn make (attrs: TokenStream, input: TokenStream)
// | Item::ForeignMod(ItemForeignMod { ref mut vis, .. }) => *vis = visibility,
// | Item::Impl(ItemImpl { ref mut vis, .. }) => *vis = visibility,
// | Item::Macro(ItemMacro { ref mut vis, .. }) => *vis = visibility,
| Item::Macro2(ItemMacro2 { ref mut vis, .. }) => *vis = visibility,
| Item::Mod(ItemMod { ref mut vis, .. }) => *vis = visibility,
| Item::Static(ItemStatic { ref mut vis, .. }) => *vis = visibility,
| Item::Struct(ItemStruct { ref mut vis, .. }) => *vis = visibility,
Expand Down

0 comments on commit aac3c7e

Please sign in to comment.