src/main.rs

changeset 88
51dbb2cc25d9
parent 61
4f468d35fa29
equal deleted inserted replaced
87:7b5404283df0 88:51dbb2cc25d9
1 // The main documentation is in the README. 1 // The main documentation is in the README.
2 // We need to uglify it in build.rs because rustdoc is stuck in the past. 2 // We need to uglify it in build.rs because rustdoc is stuck in the past.
3 #![doc = include_str!(concat!(env!("OUT_DIR"), "/README_uglified.md"))] 3 #![doc = include_str!(concat!(env!("OUT_DIR"), "/README_uglified.md"))]
4 4
5 use pointsource_algs::{common_main, experiments::DefaultExperimentSetup}; 5 use pointsource_algs::common_main;
6
7 mod experiments;
8 use experiments::DefaultExperimentSetup;
9
6 10
7 /// The entry point for the program. 11 /// The entry point for the program.
8 pub fn main() { 12 pub fn main() {
9 common_main::<DefaultExperimentSetup<f64>>().unwrap(); 13 common_main::<DefaultExperimentSetup<f64>>().unwrap();
10 } 14 }

mercurial