Skip to main content

guillotiere/
lib.rs

1#![allow(mismatched_lifetime_syntaxes)]
2#![cfg_attr(not(feature = "std"), no_std)]
3
4extern crate alloc;
5
6#[cfg(feature = "serialization")]
7#[macro_use]
8pub extern crate serde;
9pub extern crate euclid;
10
11#[cfg(test)]
12extern crate std;
13
14mod allocator;
15//pub mod recording;
16
17pub use crate::allocator::*;
18pub use euclid::{point2, size2};
19
20pub type Point = euclid::default::Point2D<i32>;
21pub type Size = euclid::default::Size2D<i32>;
22pub type Rectangle = euclid::default::Box2D<i32>;