Skip to content

Commit

Permalink
Bump quote, syn and proc-macro2 to 1 (#183)
Browse files Browse the repository at this point in the history
Bumps `quote`, `syn` and `proc-macro2` dependencies of Frunk's proc macro crates to `1`.

Co-authored-by: Lloyd <[email protected]>
  • Loading branch information
mbrobbel and lloydmeta authored Jun 19, 2021
1 parent b8fa846 commit 0a21dc4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions derives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ travis-ci = { repository = "lloydmeta/frunk" }
proc-macro = true

[dependencies]
syn = "0.15"
quote = "0.6"
syn = "1"
quote = "1"

[dependencies.frunk_proc_macro_helpers]
path = "../proc-macro-helpers"
Expand Down
6 changes: 3 additions & 3 deletions proc-macro-helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ keywords = ["Frunk", "macros", "internal"]
travis-ci = { repository = "lloydmeta/frunk" }

[dependencies]
syn = "0.15"
quote = "0.6"
proc-macro2 = "0.4"
syn = "1"
quote = "1"
proc-macro2 = "1"

[dependencies.frunk_core]
path = "../core"
Expand Down
3 changes: 1 addition & 2 deletions proc-macro-helpers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ extern crate quote;
extern crate syn;

use proc_macro::TokenStream;
use proc_macro2::TokenStream as TokenStream2;
use proc_macro2::{Span, TokenStream as TokenStream2};
use quote::ToTokens;
use quote::__rt::Span;
use syn::spanned::Spanned;
use syn::{
DeriveInput, Expr, Field, Fields, GenericParam, Generics, Ident, Lifetime, LifetimeDef, Member,
Expand Down
4 changes: 2 additions & 2 deletions proc-macros-impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ keywords = ["Frunk", "macros", "internal"]
travis-ci = { repository = "lloydmeta/frunk" }

[dependencies]
syn = "0.15"
quote = "0.6"
syn = "1"
quote = "1"
proc-macro-hack = "0.5"

[lib]
Expand Down

0 comments on commit 0a21dc4

Please sign in to comment.