pagefind 1.5.2

Implement search on any static website.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[cfg(all(target_env = "musl", target_pointer_width = "64"))]
#[global_allocator]
static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;

use pagefind::runner::run_indexer;

#[tokio::main]
async fn main() {
    match run_indexer().await {
        Ok(_) => { /* success */ }
        Err(msg) => {
            eprintln!("{msg}");
            std::process::exit(1);
        }
    }
}