#Library Index

#args

A command-line argument parser.

#array

Operations on Array a.

#async

#base32

Base32 encoding and decoding, per RFC 4648.

#base64

Base64 encoding and decoding, per RFC 4648.

#bytebuilder

A buffer for building byte arrays.

#byteparser

Parser combinators over Bytes.

#bytes

An immutable string of bytes.

#core

The prelude: the types, interfaces, and functions every Medaka program can use without an import.

#crypto.hmac

HMAC-SHA-256 (RFC 2104) over byte strings.

#crypto.sha256

SHA-256 hashing of a byte string (FIPS 180-4).

#fs

Filesystem helpers built on the host file primitives.

#hash_map

A mutable hash table from keys to values.

#hash_set

A mutable set of distinct elements, keyed by hash.

#hex

Hexadecimal encoding and decoding.

#http

HTTP/1.1 message framing: request parsing, response building, and response parsing, over bytes the caller supplies.

#i32

Signed 32-bit integers, the I32 type.

#i64

Signed 64-bit integers, the I64 type.

#io

Output to standard error, debug printing, and helpers for files and the environment.

#json

A JSON value type with a parser and a serializer.

#list

Operations on List a.

#map

An immutable map from keys to values, ordered by key.

#math

Floating-point math and a few integer helpers.

#mut_bytes

A mutable string of bytes, fixed at its allocated length.

#net

TCP connections and name resolution.

#net_async

#nonempty

A list with at least one element.

#path

Manipulation of /-separated paths as text.

#regex

Regular expressions, matched in linear time.

#runtime

The host primitives.

#set

An immutable set of distinct elements, ordered by Ord.

#string

Operations on String and Char.

#test

Assertions for unit tests.

#test_process

Assertions for a test that runs a program.

#time

Durations, a UTC calendar, and the clock.

#toml

A reader for a subset of TOML.

#u16

Unsigned 16-bit integers, the U16 type.

#u32

Unsigned 32-bit integers, the U32 type.

#u64

Unsigned 64-bit integers, the U64 type.

#u8

Unsigned 8-bit integers, the U8 type.

#validation

A result type that collects every error instead of stopping at the first.

#vector

A growable, mutable array.