1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#![allow(dead_code)]

#[cfg(feature = "bigdecimal")]
mod bigdecimal {
    extern crate bigdecimal;
    use self::bigdecimal::BigDecimal;
    use sql_types::Numeric;

    #[derive(FromSqlRow, AsExpression)]
    #[diesel(foreign_derive)]
    #[sql_type = "Numeric"]
    struct BigDecimalProxy(BigDecimal);
}