Giter VIP home page Giter VIP logo

l3-37's Introduction

L3-37

Experimental tokio connection pooler

l3-37's People

Contributors

alex-richman avatar alex-richman-onesignal avatar atul9 avatar chamons avatar cohedrin avatar corerabbit avatar darrentsung avatar dvic avatar jwilm avatar keithnoguchi avatar lilymara-onesignal avatar rish-onesignal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

l3-37's Issues

Support postgres prepared statements

It's possible to use client.prepare to get a Statement object and execute / query it later. Since Statements need to be used on the same connection that created them, l337 would require some ability to bundle state along with each connection for that to work.

Rename and move postgres adapter

The postgres adapter crate name should be l337-postgres, and we should move it into its own repo before publishing. Or, at the very least, we should move it into an appropriate sub-folder (l337-postgres).

CI

Add ci to project

Release l337 and l337-postgres on crates.io

I'm using l337 and l337-postgres in my current project using the following lines in my Cargo.toml:

[dependencies.l337]
git = "https://github.com/OneSignal/L3-37"
rev = "6d96fefa75c748d4ac3618ab2bd9523d589b6cd2"

[dependencies.l337-postgres]
git = "https://github.com/OneSignal/L3-37"
rev = "6d96fefa75c748d4ac3618ab2bd9523d589b6cd2"

Are there any plans on releasing l337 and l337-postgres to crates.io in the near future?

New Pool::connection() function in futures-03 branch borrows &Pool

It appears that the future returned from Pool::connection in the futures-03 branch borrows &self, whereas in the master branch it does not. This means that in order to spawn the future onto some executor where it needs to be 'static, the pool must be wrapped in an Arc (as a workaround). This is different to on the master branch where this extra step was not required. I believe that this is because async fn returns a future which borrows all of the arguments to the function, where as the version manually returning a future did not. This could perhaps be fixed with inline async blocks. I'm just putting this issue here to let you know about the change.

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.