#nested #lambda #macro #uri #future #directive #droughter

deprecated nightly drought

The Directive Rougter

2 releases

0.0.1 Jan 24, 2023
0.0.0 Jan 7, 2023

#26 in #directive

MIT license

34KB
559 lines

A trait-based modular HTTP router with an extensible macro-based frontend.

The drought library is a work-in-progress! Currently the following is implemented:

  • Droughter itself
  • Core Droughts, providing nesting and lambda facilities
  • Static content embedding
  • Filesystem passthrough
  • URI rewriting
  • Macro Frontend
  • Macro Extensions

All of these features can be implemented by library consumers, however, they will be more properly integrated in future releases.

Do note that the major version number is currently 0. Although the core API is mostly finished, there may be some flips from things to and from references, just for performance's sake.

Dependencies

~4–6.5MB
~116K SLoC