actr-protocol

Crates.ioactr-protocol
lib.rsactr-protocol
version0.1.7
created_at2025-11-09 08:32:27.431196+00
updated_at2026-01-19 09:29:04.905723+00
descriptionUnified protocol, types, and URI parsing for Actor-RTC framework
homepage
repositoryhttps://github.com/actor-rtc/actr
max_upload_size
id1923809
size117,833
core (github:actor-rtc:core)

documentation

README

actr-protocol

Unified protocol, types, and URI parsing for Actor-RTC framework.

Overview

actr-protocol is the protocol foundation layer of the Actor-RTC framework. It defines the standardized underlying communication contracts required for the framework's operation and provides stateless utility functions closely related to these protocols.

Features

  • Protocol Definitions: Provides .proto files and generated Rust types covering identity, signaling, service discovery, and other framework-level concepts.
  • Core Utilities: Provides necessary extensions for core types, such as string parsing/formatting for ActorId and actr:// URI handling.
  • Pure Data Layer: This module is a pure data definition and utility layer without any high-level business logic, runtime implementation, or application framework trait definitions.

Core Protocols

  • webrtc.proto: Defines WebRTC-compatible base negotiation messages (IceCandidate, SessionDescription).
  • actr.proto: Defines framework core business objects, including identity models (ActrId, VTN), service contracts (ServiceSpec), access control (AclRule), and core interactions.
  • signaling.proto: Defines the top-level envelope SignalingEnvelope for all signaling server interactions.

Usage

Add this to your Cargo.toml:

[dependencies]
actr-protocol = "0.1.3"

License

Licensed under the Apache-2.0 license.

Commit count: 68

cargo fmt