Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish new version to crates.io #27

Open
Rigellute opened this issue Oct 27, 2022 · 4 comments
Open

Publish new version to crates.io #27

Rigellute opened this issue Oct 27, 2022 · 4 comments

Comments

@Rigellute
Copy link

I see that sqlx was updated here 3f2e1cf

Would you be able to publish a new version to crates.io with this upgrade please?

@bbstilson
Copy link

Bumping 🙂

This mismatch causes a compilation error:

    let pool: PgPool = PgPoolOptions::new()
        .connect(&config.database_url)
        .await
        .expect("Database could not connect.");

    let session_store = PostgresSessionStore::from_client(pool);
note: struct `Pool` is defined in crate `sqlx_core`
   --> /home/bbstilson/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.6.3/src/pool/mod.rs:244:1
    |
244 | pub struct Pool<DB: Database>(pub(crate) Arc<PoolInner<DB>>);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: struct `sqlx_core::pool::Pool` is defined in crate `sqlx_core`
   --> /home/bbstilson/.cargo/registry/src/github.com-1ecc6299db9ec823/sqlx-core-0.5.13/src/pool/mod.rs:235:1
    |
235 | pub struct Pool<DB: Database>(pub(crate) Arc<SharedPool<DB>>);
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `sqlx_core` are being used?
note: associated function defined here
   --> /home/bbstilson/.cargo/registry/src/github.com-1ecc6299db9ec823/async-sqlx-session-0.4.0/src/pg.rs:49:12
    |
49  |     pub fn from_client(client: PgPool) -> Self {
    |            ^^^^^^^^^^^

@Outurnate
Copy link

Bumping as well - same issue as above

@dignifiedquire
Copy link

this would be great, need the support for [email protected]

@rogusdev
Copy link

Multiple PRs open for this, just need them merged https://github.com/jbr/async-sqlx-session/pulls @jbr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants