jbertovic / svelte-axum-project

Starting project template for Rust Axum backend and Svelte frontend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consider if migrating to `tower-sessions` is appropriate

maxcountryman opened this issue · comments

Hi folks,

I'm the author of axum-sessions, which is a crate I see you all are using--I'm glad to see you've found it useful!

Over the course of the last year or so we've hit some roadblocks with our key dependency, async-session. The long and short of that is in order to unblock that and address some problems with axum-sessions's design, we've released a new crate which aims to replace axum-sessions: tower-sessions.

tower-sessions no longer relies on a third-party crate for its session implementation and this has allowed us to change its design to better fit tower and the broader tower ecosystem (i.e. axum). For instance, we no longer need writable and readable sessions, and have simplified the interface as a result.

I'd be curious if there's interest in migrating and am happy to help if so.

commented

Definitely interested. Less dependencies the better. If you have time, go ahead and pr the changes. Otherwise, I can get to it over the next couple of weeks. Thanks for your continued work on axum-sessions.