1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
/* * Traditional astrology for rust * ============================== * * Rust library by Stéphane (https://github.com/stephaneworkspace) * * Using swissephem c library by Astrodienst AG * by Dieter Koch and Alois Treindl (https://www.astro.com/ftp/swisseph/) * * The source code is released under an CC License, which allows it to be used * also on commercial projects. This software uses the swiss ephemeris which is * licensed GPL. * * Therefore, if you want to this source in your commercial projects, you must * adhere to the GPL license or buy a Swiss Ephemeris commercial license. */ pub mod svg_draw; /// Unit test #[cfg(test)] mod tests { use libswe_sys::swerust::handler_swe02; #[test] fn it_works() { assert_eq!(2 + 2, 4); } #[test] fn version() { assert_eq!(handler_swe02::version(), "2.08"); } }