mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 00:14:03 +00:00
2f01e15cae
The api for actix_web::dev::ConnectionInfo changed from 2.0.0 to 3.0.0. The equivalent of 2.0.0's remote() in 3.0.0 is realip_remote_addr(), not remote_addr(). https://docs.rs/actix-web/2.0.0/actix_web/dev/struct.ConnectionInfo.html#method.remote https://docs.rs/actix-web/3.0.0-alpha.3/actix_web/dev/struct.ConnectionInfo.html#method.realip_remote_addr |
||
---|---|---|
.. | ||
api | ||
apub | ||
db | ||
rate_limit | ||
routes | ||
websocket | ||
lib.rs | ||
main.rs | ||
request.rs | ||
schema.rs | ||
settings.rs | ||
version.rs |