Git Product home page Git Product logo

nickel-postgres's People

Contributors

bguiz avatar cburgdorf avatar hjr3 avatar jakejscott avatar jolhoeft avatar ragueel avatar ryman avatar simonteixidor avatar tilehalo avatar yberreby 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

nickel-postgres's Issues

Error handling

In line 49 there are two unwrap calls:

self.extensions().get::<PostgresMiddleware>().unwrap().get().unwrap()

Could you explain what will happen if s.th. goes wrong?

Future of this crate

Hi!

There are many issues with this crate, latest one not being able to compile Silmukka, since in uses this crate and nickel_cookies crate.

Error Message

native library `openssl` is being linked to by more than one version of the same package, but it can only be linked once; try updating or pinning your dependecies to ensure that this package only shows up once

  openssl-sys v0.7.4
  openssl-sys v0.6.7

This is the main problem I faced and it was easy to fix: remove openssl from nickel_postgres.

Other problems are lack of crates.io package, according to example using crate requires importing many crates (r2d2, postgres, not nickel), which are already present in nickel_postgres.

Is this crate being actively developed, or planned to be? Since I have to fix some of these for Silmukka, should I bother making pull requests?

Not implemented for `nickel_postgres::PostgresMiddleware`

An error occurred, when I tried to utilize my Nickle with a PostgresMiddleware.

^^^^^^^ the trait `for<'r, 'mw, 'conn> std::ops::FnOnce<(&'r mut nickel::Request<'mw, 'conn>, nickel::Response<'mw>)>` is not implemented for `nickel_postgres::PostgresMiddleware`

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.