eth-beacons-indoor

Crates.ioeth-beacons-indoor
lib.rseth-beacons-indoor
version0.0.19
created_at2025-02-18 18:24:38.738961+00
updated_at2025-02-21 05:42:19.146747+00
descriptionMetadata of beacons located inside the buildings of ETH Zurich.
homepage
repositoryhttps://github.com/eth-polymaps/eth-beacons
max_upload_size
id1560264
size3,545,322
Raffael Schmid (raffaelschmid)

documentation

README

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

  1. Clone the repository:

    git clone <repository-url>
    cd <repository-directory>
    
  2. Build the project:

    cargo build
    
  3. Run the tool to generate beacon data:

    cargo run --package xtask generate --uri <API-URL>
    
    • --uri: The API endpoint to fetch beacon data from.
Commit count: 23

cargo fmt