mirror of
https://codeberg.org/icewind/bitbuffer.git
synced 2026-06-03 08:34:07 +02:00
updates
This commit is contained in:
parent
5080caa936
commit
d989565775
7 changed files with 76 additions and 85 deletions
|
|
@ -12,9 +12,9 @@ name = "bitbuffer_derive"
|
|||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
syn = { version = "2.0.58", features = ["extra-traits"] }
|
||||
quote = "1.0.35"
|
||||
proc-macro2 = "1.0.79"
|
||||
syn = { version = "2.0.66", features = ["extra-traits"] }
|
||||
quote = "1.0.36"
|
||||
proc-macro2 = "1.0.85"
|
||||
structmeta = "0.3.0"
|
||||
merge = "0.1.0"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,10 +9,6 @@ pub trait SizeHint {
|
|||
fn size_hint(&self) -> TokenStream;
|
||||
}
|
||||
|
||||
pub trait SizeHintSized {
|
||||
fn hint(&self) -> TokenStream;
|
||||
}
|
||||
|
||||
impl SizeHint for FieldParam {
|
||||
fn size_hint(&self) -> TokenStream {
|
||||
let span = self.span;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue