tower-http-metrics

Crates.iotower-http-metrics
lib.rstower-http-metrics
version0.0.4
sourcesrc
created_at2022-03-27 23:16:49.533921
updated_at2022-08-20 16:32:46.45939
descriptionTower middleware for tracking HTTP server metrics
homepagehttps://github.com/andrew-fuchs/tower-http-metrics#readme
repositoryhttps://github.com/andrew-fuchs/tower-http-metrics
max_upload_size
id557482
size12,091
Andrew Fuchs (andrew-fuchs)

documentation

https://docs.rs/tower-http-metrics/latest/tower_http_metrics/

README

tower-http-metrics

Crates.io docs.rs Crates.io CI

A Tower middleware that tracks HTTP server metrics with the Metrics facade library.

0.0 Release

I needed to make something I could drop into my projects without reimplementing it each time.

Since this is a 0.0 release, consider this package to be untested. API/ABI stability is not guaranteed.

License

MIT License

Copyright (c) 2022 Andrew Fuchs

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Commit count: 14

cargo fmt