Reference
Each block has its own reference pages, which describe what its data types are for, how to construct them, and the operations they offer. Find a block by name, or jump to an area. The overview compares every block in one table, and the API reference lists every type and method.
29 blocks in 11 areas
Meta Programming
2 blocksType-safe schemas with automatic codec, optic, and validator derivation
zio-blocks-schemaAlso ships as zio-blocks-schema-avro, zio-blocks-schema-bson, zio-blocks-schema-csv, zio-blocks-schema-messagepack, zio-blocks-schema-thrift, zio-blocks-schema-toon, zio-blocks-schema-xml, zio-blocks-schema-yaml
Resource Management
1 blockCompile-time safe resource boundaries that keep values from escaping their lifetime
zio-blocks-scopeDependency Injection
2 blocksCompile-time safe recipes for constructing a service and its dependencies
zio-blocks-scopeConfiguration & Feature Flags
1 blockTyped configuration loading, feature flags, and rollout rules
zio-blocks-configAlso ships as zio-blocks-config-yaml, zio-blocks-config-json, zio-blocks-config-hocon
Web & HTTP
8 blocksType-safe IANA media types with 2,600+ predefined types
zio-blocks-mediatypePure HTTP data model with URL parsing, headers, cookies, and forms
zio-blocks-http-modelAlso ships as zio-blocks-http-model-schema
Type-safe HTTP endpoint descriptors with composable codecs and typed auth
zio-blocks-endpointType-safe OpenAPI 3.1 specification generation and rendering
zio-blocks-openapiZero-dependency JWT signing and verification with HMAC, RSA, ECDSA and EdDSA support
zio-blocks-jwtTyped Datastar attribute and signal DSL, plus the SSE events that patch a live page
zio-blocks-datastarData Types
3 blocksHigh-performance immutable indexed sequences with zero-boxing builders
zio-blocks-chunkOptional values that store a present reference as is, without a wrapper object (Scala 3)
zio-blocks-maybeCompile-time composition and decomposition of tuples, eithers, and unions
zio-blocks-combinatorsConcurrency
3 blocksZero-allocation asynchronous effect type with direct-style `await`
zio-blocks-asyncThread-safe multiplexer for HTTP/2, QUIC, and WebSocket-style protocols
zio-blocks-muxLock-free bounded ring buffers (SPSC, SPMC, MPSC, MPMC)
zio-blocks-ringbufferStreams
1 blockPull-based streaming with typed errors, zero boxing, and synchronous or asynchronous execution
zio-blocks-streamsTelemetry
1 blockZero-dependency OpenTelemetry-aligned tracing, logging, and metrics
zio-blocks-telemetryAlso ships as zio-blocks-telemetry-otel
Persistence
4 blocksType-safe JDBC wrapper with schema-derived codecs and a CRUD repository
zio-blocks-sqlZIO integration with `ZIO.attemptBlocking` and `ZLayer`
zio-blocks-sql-zioTyped, online database schema migrations in three execution models, with no hand-written SQL
zio-blocks-data-migrationEvent-sourced projections with per-entity SQLite storage
zio-blocks-projectionTooling & Codegen
3 blocksGitHub Flavored Markdown parsing, rendering, and programmatic construction
zio-blocks-markdown