Giter Club home page Giter Club logo

Comments (10)

yaleman avatar yaleman commented on May 31, 2024 1

I'm using openidconnect with axum-sessions and found I didn't need axum-login anymore 😄

from axum-login.

maxcountryman avatar maxcountryman commented on May 31, 2024

That sounds like a pain, sorry you're running into this.

I'm happy to make that optional assuming that's feasible with the right set of feature flags.

from axum-login.

yaleman avatar yaleman commented on May 31, 2024

I figured out later that changing sqlx features in my project from runtime-native-rustls to runtime-tokio-rustls sorted it for now, which is probably smarter, but it's likely an issue either way for adoption 😃

from axum-login.

maxcountryman avatar maxcountryman commented on May 31, 2024

@yaleman if we remove the flag entirely, does that address the issue?

diff --git a/Cargo.toml b/Cargo.toml
index 25f3b09..7c233b5 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -25,7 +25,6 @@ mssql = ["sqlx/mssql"]
 mysql = ["sqlx/mysql"]
 postgres = ["sqlx/postgres"]
 sqlite = ["sqlx/sqlite"]
-sqlx = ["sqlx/runtime-tokio-rustls"]
 
 [dependencies]
 async-trait = "0.1.57"

Applications will need to specify the runtime (which must be tokio) and TLS preference.

from axum-login.

yaleman avatar yaleman commented on May 31, 2024

I'm no longer using this crate in the project so I'm not able to test, sorry!

from axum-login.

maxcountryman avatar maxcountryman commented on May 31, 2024

@yaleman got it. Any particular feedback re moving away from this crate?

from axum-login.

maxcountryman avatar maxcountryman commented on May 31, 2024

Makes sense!

from axum-login.

maxcountryman avatar maxcountryman commented on May 31, 2024

There's some work to address this in #44 but I think we need to resolve #73 before we can figure out the best approach here.

from axum-login.

maxcountryman avatar maxcountryman commented on May 31, 2024

This should be addressed by the new design in #104.

from axum-login.

maxcountryman avatar maxcountryman commented on May 31, 2024

This is addressed in v0.7.0.

from axum-login.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.