I'm impressed by the number of the implemented NIPs. Thanks for building!
Interesting. I was looking for a relay written in Rust and skimming over existing sources—nothing felt right just a year ago or so, yet today from those that I liked, I noticed at least:
https://github.com/erskingardner/wok
https://git.4rs.nl/awiteb/n34-relay.git
I see you've got a Blossom server with an optional allow-list as well—this is awesome.
The REST API—I think I was missing something like that for some weird problem. It's probably worth creating a NIP.
I see you've got an `Error` type for a bunch of things—have you possibly considered using the `anyhow` crate? It's usually adequate for high-level code and helps to get rid of a lot of boring boilerplate.
I'm curious, does your relay possibly do something else better compared to competitors? Does it provide proper NIP-42 auth requirement for NIP-59 gift wraps compatible with both NIP-17 and Concord ("p"-tag and "authors"-requested events)? Can I require NIP-42 auth for arbitrary event kinds? Possibly plan to support wot-like write-policy plugins?