kvarn_async

Module prelude

source
Expand description

Prelude for async utilities for use in web applications.

This includes all the imports from kvarn_utils::prelude. It also imports async-related std items and the common [tokio] items.

Re-exports§

Modules§

  • Provides abstractions for working with bytes.
  • Common characters expressed as a single byte each, according to UTF-8.
  • compact_str

    A memory efficient string type that can store up to 24* bytes on the stack.

  • Parsing utilities and constants for Kvarn extensions.
  • Utilities for formatting and printing Strings.
  • HTTP header types
  • Traits, helpers, and type definitions for core I/O functionality.
  • Networking primitives for TCP/UDP communication.
  • General parsing complying to the HTTP standards.
  • Utilities for the str primitive type.
  • URI component of request and response lines

Macros§

  • Convenience macro to create a Bytes from multiple &[u8] sources.
  • Logs a message at the debug level.
  • Logs a message at the error level.
  • Creates a CompactString using interpolation of runtime expressions.
  • Logs a message at the info level.