Explicitly specify paths in crate.
This commit is contained in:
parent
6c4ead0990
commit
e837ab52f3
1 changed files with 22 additions and 1 deletions
23
src/lmath.rc
23
src/lmath.rc
|
@ -19,42 +19,63 @@ pub mod vec;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
mod test {
|
mod test {
|
||||||
|
#[path = "test/test_angle.rs"]
|
||||||
mod test_angle;
|
mod test_angle;
|
||||||
|
#[path = "test/test_gltypes.rs"]
|
||||||
mod test_gltypes;
|
mod test_gltypes;
|
||||||
|
#[path = "test/test_mat.rs"]
|
||||||
mod test_mat;
|
mod test_mat;
|
||||||
|
#[path = "test/test_quat.rs"]
|
||||||
mod test_quat;
|
mod test_quat;
|
||||||
|
#[path = "test/test_vec.rs"]
|
||||||
mod test_vec;
|
mod test_vec;
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod color {
|
pub mod color {
|
||||||
|
#[path = "color/channel.rs"]
|
||||||
pub mod channel;
|
pub mod channel;
|
||||||
|
#[path = "color/color.rs"]
|
||||||
pub mod color;
|
pub mod color;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
mod test {
|
mod test {
|
||||||
|
#[path = "color/test/test_channel.rs"]
|
||||||
mod test_channel;
|
mod test_channel;
|
||||||
|
#[path = "color/test/test_color.rs"]
|
||||||
mod test_color;
|
mod test_color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod funs {
|
pub mod funs {
|
||||||
|
#[path = "funs/common.rs"]
|
||||||
pub mod common;
|
pub mod common;
|
||||||
|
#[path = "funs/exponential.rs"]
|
||||||
pub mod exponential;
|
pub mod exponential;
|
||||||
|
#[path = "funs/projection.rs"]
|
||||||
pub mod projection;
|
pub mod projection;
|
||||||
|
#[path = "funs/relational.rs"]
|
||||||
pub mod relational;
|
pub mod relational;
|
||||||
|
#[path = "funs/triganomic.rs"]
|
||||||
pub mod triganomic;
|
pub mod triganomic;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
mod test {
|
mod test {
|
||||||
|
#[path = "funs/test/test_common.rs"]
|
||||||
mod test_common;
|
mod test_common;
|
||||||
|
#[path = "funs/test/test_relational.rs"]
|
||||||
mod test_relational;
|
mod test_relational;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub mod num {
|
pub mod num {
|
||||||
|
#[path = "num/cast.rs"]
|
||||||
pub mod cast;
|
pub mod cast;
|
||||||
|
#[path = "num/consts.rs"]
|
||||||
pub mod consts;
|
pub mod consts;
|
||||||
|
#[path = "num/default_eq.rs"]
|
||||||
pub mod default_eq;
|
pub mod default_eq;
|
||||||
|
#[path = "num/ext.rs"]
|
||||||
pub mod ext;
|
pub mod ext;
|
||||||
|
#[path = "num/rhs.rs"]
|
||||||
pub mod rhs; // FIXME: see module description
|
pub mod rhs; // FIXME: see module description
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue