tower-hs: Composable service middleware for Haskell, inspired by Rust's Tower

[ control, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

tower-hs provides a composable middleware abstraction for any service type. Build middleware stacks with retry, timeout, circuit breaker, and more — all with pure error handling via Either (no exceptions).


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies async (>=2.2 && <2.3), base (>=4.14 && <5), hs-opentelemetry-api (>=0.3 && <0.4), stm (>=2.5 && <2.6), text (>=2.0 && <2.2), time (>=1.11 && <1.15) [details]
Tested with ghc ==9.6.6, ghc ==9.8.4, ghc ==9.10.1
License MIT
Copyright 2026 Jarl André Hübenthal
Author Jarl André Hübenthal
Maintainer jarlah@protonmail.com
Uploaded by jarlah at 2026-04-06T14:10:45Z
Category Control
Home page https://github.com/jarlah/tower-hs#readme
Bug tracker https://github.com/jarlah/tower-hs/issues
Source repo head: git clone https://github.com/jarlah/tower-hs
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 0 total (0 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-04-06 [all 1 reports]

Readme for tower-hs-0.1.0.0

[back to package description]

tower-hs

Composable service middleware for Haskell, inspired by Rust's Tower.

Generic Service/Middleware abstractions with protocol-agnostic middleware: retry, timeout, circuit breaker, filter, hedge, tracing (OpenTelemetry), logging, validation, request transformation, and test doubles.

Part of the tower-hs mono-repo. See the repo README for full documentation and examples.