#archive #user-input #flashpoint #webgames

flashpoint-archive

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

25 releases (6 breaking)

0.7.11 Apr 7, 2024
0.7.8 Mar 28, 2024

#33 in #user-input

Download history 13/week @ 2024-01-12 21/week @ 2024-01-19 10/week @ 2024-02-09 334/week @ 2024-02-16 245/week @ 2024-02-23 397/week @ 2024-03-01 203/week @ 2024-03-08 525/week @ 2024-03-15 417/week @ 2024-03-22 383/week @ 2024-03-29 136/week @ 2024-04-05

1,466 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

~29–39MB
~600K SLoC