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

No reexport for odbc_safe #127

Open
antonb-via opened this issue Nov 13, 2019 · 2 comments
Open

No reexport for odbc_safe #127

antonb-via opened this issue Nov 13, 2019 · 2 comments

Comments

@antonb-via
Copy link

Hi,
although the docs claim that odbc_safe is re-exported, I don't see it in the code. The part of the docs says:

Re-exports:

pub extern crate odbc_safe;
--
pub use ResultSetState::*;
pub use odbc_safe as safe;

When I couldn't import the odbc_safe because it's private, I checked the actual crate code:

pub use diagnostics::{DiagnosticRecord, GetDiagRec};
pub use result::Result;
pub use environment::*;
pub use connection::Connection;
pub use statement::*;

use odbc_object::OdbcObject;
use raii::Raii;
use result::{Return, into_result, try_into_option};
use odbc_safe as safe;

Can you please check and fix? Right now, I have to use odbc_safe as additional dependency.

Thanks.

@Koka
Copy link
Owner

Koka commented Nov 13, 2019

I have no free time now, but I'll gladly accept pull request on this subject

@acasajus
Copy link

acasajus commented Dec 2, 2019

It works for me. Looking at lib.rs it is exported here

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

3 participants