#archive #webgames #flashpoint

flashpoint-archive

Library to access Flashpoint Archive's database and misc related functions

8 unstable releases (3 breaking)

new 0.4.2 Feb 22, 2024
0.4.1 Feb 21, 2024
0.3.0 Feb 9, 2024
0.2.1 Jan 21, 2024
0.1.1 Jan 15, 2024

#790 in Database interfaces

Download history 90/week @ 2024-01-13 63/week @ 2024-01-20 18/week @ 2024-01-27 37/week @ 2024-02-03 28/week @ 2024-02-10 547/week @ 2024-02-17

630 downloads per month

MIT license

230KB
5.5K SLoC

Flashpoint Archive Rust Library

Rust library for accessing the local database and misc features of the Flashpoint Archive.

Project website: https://flashpointarchive.org/

Feature flags

napi - Adds napi-rs attrs to structs

Usage

User input example

use flashpoint_archive::FlashpointArchive;
use flashpoint_archive::games::search::parse_user_input;

fn main() {
    let archive = FlashpointArchive::new();
    archive.load_database(TEST_DATABASE).expect("Failed to open database");

    let mut search = parse_user_input("Sonic platform:Flash");
    search.limit = 9999999; // Default 1000 limit for pages
    let games = archive.find_games(search).expect("Failed to search");
}

Dependencies

~26–37MB
~575K SLoC