src/main.rs

Tue, 04 Aug 2026 13:46:29 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Tue, 04 Aug 2026 13:46:29 -0500
changeset 88
51dbb2cc25d9
parent 61
4f468d35fa29
permissions
-rw-r--r--

Move experiments away from the lib to the binary,
to avoid compiling them for other projects.

// The main documentation is in the README.
// We need to uglify it in build.rs because rustdoc is stuck in the past.
#![doc = include_str!(concat!(env!("OUT_DIR"), "/README_uglified.md"))]

use pointsource_algs::common_main;

mod experiments;
use experiments::DefaultExperimentSetup;


/// The entry point for the program.
pub fn main() {
    common_main::<DefaultExperimentSetup<f64>>().unwrap();
}

mercurial