ODBC adapter for r2d2 connection pool

Overview

r2d2-odbc

This crate is not maintained anymore

ODBC adapter for r2d2 connection pool

https://travis-ci.org/Koka/odbc-rs Appveyor Build status https://crates.io/crates/r2d2_odbc Coverage Status Docs

Example:

(1).unwrap() { println!("THREAD {} {}", i, val); } } } })); } for child in children { let _ = child.join(); } } ">
extern crate r2d2;
extern crate r2d2_odbc;
extern crate odbc;

use std::thread;
use r2d2_odbc::ODBCConnectionManager;
use odbc::*;

fn main() {
    let manager = ODBCConnectionManager::new("DSN=PostgreSQL");
    let pool = r2d2::Pool::new(manager).unwrap();

    let mut children = vec![];
    for i in 0..10i32 {
        let pool = pool.clone();
        children.push(thread::spawn(move || {
            let pool_conn = pool.get().unwrap();
            let conn = pool_conn.raw();
            let stmt = Statement::with_parent(&conn).unwrap();
            if let Data(mut stmt) = stmt.exec_direct("SELECT version()").unwrap() {
                while let Some(mut cursor) = stmt.fetch().unwrap() {
                    if let Some(val) = cursor.get_data::<&str>(1).unwrap() {
                        println!("THREAD {} {}", i, val);
                    }
                }
            }
        }));
    }

    for child in children {
        let _ = child.join();
    }
}
Comments
  • Update odbc requirement from 0.10 to 0.13

    Update odbc requirement from 0.10 to 0.13

    Updates the requirements on odbc to permit the latest version.

    Release notes

    Sourced from odbc's releases.

    0.13.0

    #111

    Commits
    • 63902bb Bump version
    • 8aa2d7a Prevent error when no drivers/datasources
    • 1069b27 Merge pull request #111 from jdc-lab/optional_tables
    • c8c413b fix return value
    • 418337c introduce new tables_opt_str which does not break API
    • 5a42536 add optionals to tables-functions
    • 879a37d add optionals to tables-functions
    • 97bdbe7 Bump version
    • 595089b Merge branch 'master' of github.com:Koka/odbc-rs
    • f95fff1 Merge pull request #109 from yekimov/master
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)

    Finally, you can contact us by mentioning @dependabot.

    dependencies 
    opened by dependabot-preview[bot] 5
  • Update odbc requirement from 0.10 to 0.11

    Update odbc requirement from 0.10 to 0.11

    Updates the requirements on odbc to permit the latest version.

    Release notes

    Sourced from odbc's releases.

    0.11.0

    #108

    Commits
    • 97857ea Bump version
    • d6fcefb Merge pull request #108 from yekimov/iu64_fix
    • ff03d61 OdbcType implementation fix for i64 and u64.
    • 106273f Bump version
    • 633cf35 Merge pull request #106 from jpastuszek/wchar-fix
    • c099350 fix for incorrect column_size and tailing null handling for Unicode strings
    • bf5bcbf Bump version
    • 99f0a50 Merge pull request #101 from yuana1/master
    • f20646a modify prepare_bytes doc
    • 197a8f9 modify prepare_bytes doc
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)

    Finally, you can contact us by mentioning @dependabot.

    dependencies 
    opened by dependabot-preview[bot] 5
  • Update odbc requirement from 0.10 to 0.14

    Update odbc requirement from 0.10 to 0.14

    Updates the requirements on odbc to permit the latest version.

    Release notes

    Sourced from odbc's releases.

    0.14.0

    #115

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)

    Finally, you can contact us by mentioning @dependabot.

    dependencies 
    opened by dependabot-preview[bot] 3
  • Update odbc requirement from 0.15 to 0.16

    Update odbc requirement from 0.15 to 0.16

    Updates the requirements on odbc to permit the latest version.

    Release notes

    Sourced from odbc's releases.

    0.16.0

    Koka/odbc-rs#130

    Commits

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 2
  • Update odbc requirement from 0.10 to 0.12

    Update odbc requirement from 0.10 to 0.12

    Updates the requirements on odbc to permit the latest version.

    Release notes

    Sourced from odbc's releases.

    0.12.0

    #109

    Commits
    • 97bdbe7 Bump version
    • 595089b Merge branch 'master' of github.com:Koka/odbc-rs
    • f95fff1 Merge pull request #109 from yekimov/master
    • 570169d Zeroes truncation bug fix.
    • 97857ea Bump version
    • d6fcefb Merge pull request #108 from yekimov/iu64_fix
    • ff03d61 OdbcType implementation fix for i64 and u64.
    • 106273f Bump version
    • 633cf35 Merge pull request #106 from jpastuszek/wchar-fix
    • c099350 fix for incorrect column_size and tailing null handling for Unicode strings
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Pull request limits (per update run and/or open at any time)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)

    Finally, you can contact us by mentioning @dependabot.

    dependencies 
    opened by dependabot-preview[bot] 2
  • Update odbc requirement from 0.14 to 0.15

    Update odbc requirement from 0.14 to 0.15

    ⚠️ Dependabot is rebasing this PR ⚠️

    If you make any changes to it yourself then they will take precedence over the rebase.


    Updates the requirements on odbc to permit the latest version.

    Release notes

    Sourced from odbc's releases.

    0.15.0

    Transaction support!

    Commits
    • 49bed4c Transaction support
    • bc7d3a6 Merge branch 'master' of github.com:Koka/odbc-rs
    • 38a6525 Fix compile errors
    • 0d91e53 Merge pull request #121 from Koka/dependabot/cargo/odbc-sys-0.8.2
    • 4baf51b Merge branch 'master' into dependabot/cargo/odbc-sys-0.8.2
    • 0eeb00f Bump odbc-sys and odbc-safe
    • 346f18f Merge pull request #118 from Koka/dependabot/cargo/env_logger-0.7
    • 0bc98e0 Merge branch 'master' into dependabot/cargo/odbc-sys-0.8.2
    • df48a66 Merge branch 'master' into dependabot/cargo/env_logger-0.7
    • f80cd86 Merge pull request #124 from palfrey/fix-list-drivers-length
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
  • Running example

    Running example

    2019-10-29 08_58_19-main rs - rust test - Visual Studio Code In the base odbc package I'm able to connect and every thing works. Though when trying to create the pool and use the connection it says they are of different types. `pool.get().unwrap().raw()` This does return the connection but when calling Statement with parent is where the complier isn't happy and says they are different: `Statement.with_parent(conn)` I'm only importing those as in the example. I'm new to Rust, any ideas here?
    opened by DavidWhit 1
  • Dependabot can't resolve your Rust dependency files

    Dependabot can't resolve your Rust dependency files

    Dependabot can't resolve your Rust dependency files.

    As a result, Dependabot couldn't update your dependencies.

    The error Dependabot encountered was:

    Updating crates.io index
    error: failed to select a version for the requirement `odbc-safe = "^0.4.2"`
    candidate versions found which didn't match: 0.5.1, 0.5.0, 0.4.1, ...
    location searched: crates.io index
    required by package `odbc v0.15.0`
        ... which is depended on by `r2d2_odbc v0.4.1 (/home/dependabot/dependabot-updater/dependabot_tmp_dir)`
    

    If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

    View the update logs.

    opened by dependabot-preview[bot] 0
  • Dependabot can't resolve your Rust dependency files

    Dependabot can't resolve your Rust dependency files

    Dependabot can't resolve your Rust dependency files.

    As a result, Dependabot couldn't update your dependencies.

    The error Dependabot encountered was:

    Updating crates.io index
    error: failed to select a version for the requirement `odbc-safe = "^0.4.2"`
    candidate versions found which didn't match: 0.5.0, 0.4.1, 0.4.0, ...
    location searched: crates.io index
    required by package `odbc v0.15.0`
        ... which is depended on by `r2d2_odbc v0.4.1 (/home/dependabot/dependabot-updater/dependabot_tmp_dir)`
    

    If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

    View the update logs.

    opened by dependabot-preview[bot] 0
  • Dependabot can't resolve your Rust dependency files

    Dependabot can't resolve your Rust dependency files

    Dependabot can't resolve your Rust dependency files.

    As a result, Dependabot couldn't update your dependencies.

    The error Dependabot encountered was:

        Updating crates.io index
    error: failed to select a version for the requirement `odbc-safe = "^0.4.2"`
    candidate versions found which didn't match: 0.5.0, 0.4.1, 0.4.0, ...
    location searched: crates.io index
    required by package `odbc v0.15.0`
        ... which is depended on by `r2d2_odbc v0.4.1 (/home/dependabot/dependabot-updater/dependabot_tmp_dir
    

    If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

    View the update logs.

    opened by dependabot-preview[bot] 0
  • Dependabot can't resolve your Rust dependency files

    Dependabot can't resolve your Rust dependency files

    Dependabot can't resolve your Rust dependency files.

    As a result, Dependabot couldn't update your dependencies.

    The error Dependabot encountered was:

        Updating crates.io index
    error: failed to select a version for the requirement `odbc-safe = "^0.4.2"`
      candidate versions found which didn't match: 0.5.0, 0.4.1, 0.4.0, ...
      location searched: crates.io index
    required by package `odbc v0.15.0`
        ... which is depended on by `r2d2_odbc v0.4.1 (/home/dependabot/dependabot-updater/dependabot_tmp_dir
    

    If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

    View the update logs.

    opened by dependabot-preview[bot] 0
  • Upgrade to GitHub-native Dependabot

    Upgrade to GitHub-native Dependabot

    Dependabot Preview will be shut down on August 3rd, 2021. In order to keep getting Dependabot updates, please merge this PR and migrate to GitHub-native Dependabot before then.

    Dependabot has been fully integrated into GitHub, so you no longer have to install and manage a separate app. This pull request migrates your configuration from Dependabot.com to a config file, using the new syntax. When merged, we'll swap out dependabot-preview (me) for a new dependabot app, and you'll be all set!

    With this change, you'll now use the Dependabot page in GitHub, rather than the Dependabot dashboard, to monitor your version updates, and you'll configure Dependabot through the new config file rather than a UI.

    If you've got any questions or feedback for us, please let us know by creating an issue in the dependabot/dependabot-core repository.

    Learn more about migrating to GitHub-native Dependabot

    Please note that regular @dependabot commands do not work on this pull request.

    dependencies 
    opened by dependabot-preview[bot] 1
  • Dependabot can't resolve your Rust dependency files

    Dependabot can't resolve your Rust dependency files

    Dependabot can't resolve your Rust dependency files.

    As a result, Dependabot couldn't update your dependencies.

    The error Dependabot encountered was:

    Updating crates.io index
    error: failed to select a version for the requirement `odbc-safe = "^0.4.2"`
    candidate versions found which didn't match: 0.6.0, 0.5.0, 0.4.1, ...
    location searched: crates.io index
    required by package `odbc v0.15.0`
        ... which is depended on by `r2d2_odbc v0.4.1 (/home/dependabot/dependabot-updater/dependabot_tmp_dir)`
    

    If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

    View the update logs.

    opened by dependabot-preview[bot] 0
  • implement is_valid check for ODBCConnectionManager

    implement is_valid check for ODBCConnectionManager

    • Implement the is_valid check for the ODBCConnectionManager

    This change allows the R2D2 pool to create a new connection if for whatever reason the existing connection is no longer valid.

    opened by Clee681 0
  • bump odbc version

    bump odbc version

    • Bump odbc version

    Description

    When attempting to use odbc 0.17 with this library, I'm getting the following error.

        = note: expected reference `&odbc::Connection<'_, odbc::odbc_safe::AutocommitOn>`
                   found reference `&odbc::connection::Connection<'_, odbc::odbc_safe::AutocommitOn>`
        = note: perhaps two different versions of crate `odbc` are being used?
    

    Bumping the dependency version should fix the type error.

    opened by Clee681 0
  • Update odbc requirement from 0.15 to 0.17

    Update odbc requirement from 0.15 to 0.17

    Updates the requirements on odbc to permit the latest version.

    Release notes

    Sourced from odbc's releases.

    0.17.0

    Koka/odbc-rs#137 fix unsound drop

    Commits
    • 78a06ab Bump version
    • f53fbf8 Merge pull request #137 from jpastuszek/raii_phantom
    • 18f7015 fixed more tests
    • 4e780d4 moved PhantomData<'con> to Raii to prevent Raii drop after 'con drop when Sta...
    • 19a1ae0 Update readme
    • 64af434 Yank odbc-safe 0.4.2
    • 48fa92d Bump version
    • 70d4fb2 Merge pull request #130 from nao-kobayashi/modify-encoded-value
    • f56e72b Merge pull request #1 from nao-kobayashi/test-add
    • e74e9e3 foget changed test file
    • Additional commits viewable in compare view

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
    • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

    Additionally, you can set the following in your Dependabot dashboard:

    • Update frequency (including time of day and day of week)
    • Pull request limits (per update run and/or open at any time)
    • Automerge options (never/patch/minor, and dev/runtime dependencies)
    • Out-of-range updates (receive only lockfile updates, if desired)
    • Security updates (receive only security updates, if desired)
    dependencies 
    opened by dependabot-preview[bot] 1
Releases(0.5.0)
Owner
Konstantin V. Salikhov
Konstantin V. Salikhov
r2d2-cypher is a r2d2 connection pool for rusted-cypher

r2d2-cypher is a r2d2 connection pool for rusted-cypher

Markus Kohlhase 10 Oct 16, 2021
LDAP support for the r2d2 connection pool

r2d2-ldap LDAP support for the r2d2 connection pool Install Add this to your Cargo.toml: [dependencies] r2d2-ldap = "0.1.1" Basic Usage use std::threa

Aitor Ruano 2 Nov 7, 2020
Oracle support for the r2d2 connection pool

r2d2-oracle The documentation can be found on docs.rs. Oracle support for the r2d2 connection pool. This fits in between the r2d2 connection manager a

Ralph Ursprung 7 Dec 14, 2022
rust-mysql-simple support library for the r2d2 connection pool

r2d2-mysql rust-mysql-simple support library for the r2d2 connection pool.

outersky 44 Nov 1, 2022
Memcached support for the r2d2 connection pool (Rust)

Memcached support for the r2d2 connection pool (Rust)

川田 恵氏 (Kawada Keishi a.k.a megumish) 4 Jul 12, 2022
rust-postgres support library for the r2d2 connection pool

r2d2-postgres Documentation rust-postgres support library for the r2d2 connection pool. Example use std::thread; use r2d2_postgres::{postgres::NoTls,

Steven Fackler 128 Dec 26, 2022
A generic connection pool for Rust

r2d2 A generic connection pool for Rust. Documentation Opening a new database connection every time one is needed is both inefficient and can lead to

Steven Fackler 1.2k Jan 8, 2023
Skytable rust client support library for the bb8 connection pool

bb8-skytable Skytable rust client support library for the bb8 connection pool. Heavily based on bb8-redis Basic usage example use bb8_skytable::{

null 3 Sep 18, 2021
Quick Pool: High Performance Rust Async Resource Pool

Quick Pool High Performance Rust Async Resource Pool Usage DBCP Database Backend Adapter Version PostgreSQL tokio-postgres qp-postgres Example use asy

Seungjae Park 13 Aug 23, 2022
ODBC wrapper for safe idiomatic Rust

ODBC wrapper for safe idiomatic Rust Library for writing ODBC applications in Rust. If you're looking for raw ODBC FFI bindings check odbc-safe and od

Konstantin V. Salikhov 91 Dec 10, 2022
Streaming Network Overlay Connection Arbitration Tunnel

SNOCAT Streaming Network Overlay Connection Arbitration Tunnel snocat is a framework for forwarding streams across authenticated, encrypted QUIC tunne

Microsoft 52 Nov 16, 2022
Diesel async connection implementation

A async interface for diesel Diesel gets rid of the boilerplate for database interaction and eliminates runtime errors without sacrificing performance

Georg Semmler 293 Dec 26, 2022
Lightweight async Redis client with connection pooling written in pure Rust and 100% memory safe

redi-rs (or redirs) redi-rs is a Lightweight Redis client with connection pooling written in Rust and 100% memory safe redi-rs is a Redis client writt

Oğuz Türkay 4 May 20, 2023
An async executor based on the Win32 thread pool API

wae An async executor based on the Win32 thread pool API use futures::channel::oneshot; #[wae::main] async fn main() { let (tx, rx) = oneshot::ch

Raphaël Thériault 10 Dec 10, 2021
This represents staked SOL, and can be sold for wSOL in the wSOL/stSOL Liquidity Pool

This represents staked SOL, and can be sold for wSOL in the wSOL/stSOL Liquidity Pool (paying a fee to skip the unstaking cool-down period). The value of your stSOL holdings is automatically incremented each epoch when staking rewards are paid.

null 2 Jun 4, 2022
A lock-free, append-only atomic pool.

A lock-free, append-only atomic pool. This library implements an atomic, append-only collection of items, where individual items can be acquired and r

Jon Gjengset 64 Oct 24, 2022
High-performance, lock-free local and concurrent object memory pool with automated allocation, cleanup, and verification.

Opool: Fast lock-free concurrent and local object pool Opool is a high-performance Rust library that offers a concurrent and local object pool impleme

Khashayar Fereidani 8 Jun 3, 2023
r2d2-couchdb: CouchDB support for the r2d2 connection pool

r2d2-couchdb: CouchDB support for the r2d2 connection pool

Pablo Aguiar 10 Dec 2, 2022
r2d2-cypher is a r2d2 connection pool for rusted-cypher

r2d2-cypher is a r2d2 connection pool for rusted-cypher

Markus Kohlhase 10 Oct 16, 2021
LDAP support for the r2d2 connection pool

r2d2-ldap LDAP support for the r2d2 connection pool Install Add this to your Cargo.toml: [dependencies] r2d2-ldap = "0.1.1" Basic Usage use std::threa

Aitor Ruano 2 Nov 7, 2020