#archive #user-input #flashpoint #webgames

flashpoint-archive

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

26 releases (6 breaking)

new 0.7.12 May 25, 2024
0.7.8 Mar 28, 2024

#619 in Database interfaces

Download history 9/week @ 2024-02-03 1/week @ 2024-02-10 381/week @ 2024-02-17 208/week @ 2024-02-24 494/week @ 2024-03-02 101/week @ 2024-03-09 623/week @ 2024-03-16 350/week @ 2024-03-23 359/week @ 2024-03-30 134/week @ 2024-04-06 5/week @ 2024-04-13

2,427 downloads per month

MIT license

255KB
6K 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

~38MB
~604K SLoC