summaryrefslogtreecommitdiff
path: root/derive/tests/basic.rs
blob: a636faa61fc19d088c0096b01b925b2935310668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
use derive::*;
use crimtag::*;

#[derive(CrimtagMappable)]
pub struct SubTest {
    name: String,
    byline: String,
    amount: i64,
}

#[derive(CrimtagMappable)]
pub struct Test {
    number: i32,
    something: f64,
    inner_thing: String,
    sub: SubTest,
    stuff: Vec<SubTest>,
}



#[test]
fn it_works() {
}