5 unstable releases

0.4.1 Feb 5, 2026
0.4.0 Feb 5, 2026
0.3.0 Jan 23, 2026
0.2.1 Dec 13, 2025
0.2.0 Dec 7, 2025

#652 in WebSocket

AGPL-3.0 AND MIT

130KB
3K SLoC

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

Dependencies

~13–33MB
~604K SLoC