postgres_range 0.11.1

Range support for rust-postgres
Documentation
use chrono_04::{DateTime, NaiveDateTime, TimeZone};

use crate::{Normalizable, RangeBound, BoundSided};

impl<T> Normalizable for DateTime<T>
    where T: TimeZone {
    fn normalize<S>(bound: RangeBound<S, DateTime<T>>) -> RangeBound<S, DateTime<T>>
    where
        S: BoundSided,
    {
        bound
    }
}

impl Normalizable for NaiveDateTime
{
    fn normalize<S>(bound: RangeBound<S, NaiveDateTime>) -> RangeBound<S, NaiveDateTime>
    where
        S: BoundSided,
    {
        bound
    }
}