aver-rt 0.1.0

Shared Rust runtime pieces for Aver-generated programs
Documentation
  • Coverage
  • 1.33%
    1 out of 75 items documented0 out of 33 items with examples
  • Size
  • Source code size: 54.83 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.33 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 25s Average build duration of successful builds.
  • all releases: 25s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • jasisz/aver
    4 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • jasisz

aver-rt

aver-rt is the shared Rust runtime for Aver.

It is used by:

  • the Aver interpreter/runtime adapters in this repository
  • Rust projects generated by aver compile -t rust

The crate exists so Aver semantics live in one place instead of being duplicated between the interpreter and generated Rust output.

What it contains

  • AverList<T>: persistent list used by Aver list operations
  • AverDisplay: Aver-specific display formatting used by Console.print and string interpolation
  • shared runtime helpers for console, time, disk, env, and string operations
  • shared service types:
    • Header
    • HttpResponse
    • HttpRequest
    • TcpConnection
  • shared service runtimes:
    • tcp
    • http (behind the http feature)
    • http_server

Features

  • default: no optional dependencies
  • http: enables the HTTP client runtime via ureq

Stability

This crate is primarily intended to support Aver-generated programs and the Aver interpreter. The public API should be treated as young and evolving.

Repository