Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions derive_builder_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ clippy = []
lib_has_std = []

[dependencies]
darling = "0.20.10"
darling = "0.24"
proc-macro2 = "1.0.37"
quote = "1.0.35"
syn = { version = "2.0.15", features = ["full", "extra-traits"] }
syn = { version = "3", features = ["full", "extra-traits"] }
5 changes: 3 additions & 2 deletions derive_builder_core/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::borrow::Cow;
use proc_macro2::TokenStream;
use quote::{format_ident, ToTokens, TokenStreamExt};
use syn::punctuated::Punctuated;
use syn::{Path, TraitBound, TraitBoundModifier, TypeParamBound};
use syn::{Path, TraitBound, TraitBoundModifiers, TypeParamBound};

use crate::BuilderPattern;

Expand Down Expand Up @@ -321,7 +321,8 @@ impl<'a> Builder<'a> {

let clone_bound = TypeParamBound::Trait(TraitBound {
paren_token: None,
modifier: TraitBoundModifier::None,
modifiers: TraitBoundModifiers::default(),
maybe: None,
lifetimes: None,
path: syn::parse_quote!(#crate_root::export::core::clone::Clone),
});
Expand Down
2 changes: 1 addition & 1 deletion derive_builder_macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ lib_has_std = ["derive_builder_core/lib_has_std"]

[dependencies]
derive_builder_core = { version = "=0.20.2", path = "../derive_builder_core" }
syn = { version = "2.0.15", features = ["full", "extra-traits"] }
syn = { version = "3", features = ["full", "extra-traits"] }
Loading