11 releases
new 0.0.19 | Feb 21, 2025 |
---|---|
0.0.18 | Feb 21, 2025 |
#685 in Development tools
484 downloads per month
3.5MB
79K
SLoC
Beacon Generator
This project is a Rust-based tool for generating beacon data files from a given API endpoint. The generated files contain beacon information grouped by buildings and are used for location-based services.
Features
- Fetches beacon data from a specified API endpoint.
- Parses the JSON response and groups beacons by buildings.
- Generates Rust source files with beacon data.
- Supports feature flags for conditional compilation of beacon data.
Requirements
- Rust
- Cargo
Usage
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Build the project:
cargo build
-
Run the tool to generate beacon data:
cargo run --package xtask generate --uri <API-URL>
--uri
: The API endpoint to fetch beacon data from.
Dependencies
~250–710KB
~16K SLoC