tangram_core_rs

Crates.iotangram_core_rs
lib.rstangram_core_rs
version0.3.0
created_at2025-12-07 21:49:42.181647+00
updated_at2026-01-23 13:34:38.905414+00
descriptionA framework for real-time analysis of ADS-B and Mode S surveillance data
homepagehttps://mode-s.org/tangram/
repositoryhttps://github.com/open-aviation/tangram
max_upload_size
id1972314
size194,204
Xavier Olive (xoolive)

documentation

README

tangram_core (Rust)

This crate provides the performance-critical foundations for the tangram framework.

Modules

stream

A library for handling geospatial data streams. It provides traits for Positioned, Tracked, and Identifiable entities and utilities for broadcasting state vectors to Redis.

bbox

Manages viewport-based filtering. It efficiently tracks connected client viewports and filters stream data to only send relevant entities to the frontend.

channel (Feature: channel)

A high-performance WebSocket server built on Axum and Redis Pub/Sub. It implements a subset of the Phoenix Channels protocol to provide real-time, bidirectional communication between Python plugins, Rust services, and the Vue frontend.

Note that this component a heavily modified version of https://github.com/emctoo/channel/tree/v0.2.8 and is licensed under the MIT License.

Testing

The channel module contains integration tests that require a running Redis instance.

podman run -d -p 6379:6379 redis
cargo test --features channel
Commit count: 731

cargo fmt