diff --git a/jagua-rs/src/lib.rs b/jagua-rs/src/lib.rs index d272bc9..faab67b 100644 --- a/jagua-rs/src/lib.rs +++ b/jagua-rs/src/lib.rs @@ -1,3 +1,11 @@ +//! +//! A fast and fearless Collision Detection Engine for 2D irregular cutting and packing problems. +//! +//! +//! This crate can be configured to use single or double precision floating points: +//! * By default, single precision is used: ```f32``` +//! * With feature ```double_precision```: ```f64``` + /// Everything collision detection engine related pub mod collision_detection; diff --git a/lbf/Cargo.toml b/lbf/Cargo.toml index ed084a5..7c09823 100644 --- a/lbf/Cargo.toml +++ b/lbf/Cargo.toml @@ -7,7 +7,7 @@ repository = "https://github.com/JeroenGar/jagua-rs" authors = ["Jeroen Gardeyn"] [dependencies] -jagua-rs = { path = "../jagua-rs" , version = "0.1.1", features = [] } +jagua-rs = { path = "../jagua-rs" , version = "0.1.1", features = ["double_precision"] } rand = { version = "0.8.5", features = [ "small_rng" ] } rand_distr = "0.4.3" serde = { version = "1.0", features = ["derive"] }