mirror of https://git.sr.ht/~stygianentity/bincode
parent
00c5cb0ff0
commit
620078dc8b
|
|
@ -19,4 +19,4 @@ description = "Implementation of #[derive(Encode, Decode)] for bincode"
|
|||
proc-macro = true
|
||||
|
||||
[dependencies]
|
||||
virtue = "0.0.8"
|
||||
virtue = "0.0.9"
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ mod issue_500;
|
|||
#[path = "issues/issue_523.rs"]
|
||||
mod issue_523;
|
||||
|
||||
#[path = "issues/issue_537.rs"]
|
||||
mod issue_537;
|
||||
|
||||
#[path = "issues/issue_547.rs"]
|
||||
mod issue_547;
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
#![cfg(all(feature = "derive", feature = "std"))]
|
||||
|
||||
use bincode::{Decode, Encode};
|
||||
|
||||
#[derive(Encode, Decode)]
|
||||
struct Foo<Bar = ()> {
|
||||
x: Bar,
|
||||
}
|
||||
Loading…
Reference in New Issue