Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

Fixed cargo setup #90

Merged
merged 1 commit into from
Jul 8, 2014
Merged

Fixed cargo setup #90

merged 1 commit into from
Jul 8, 2014

Conversation

mmerfort
Copy link
Contributor

@mmerfort mmerfort commented Jul 7, 2014

I have moved some files around to make it usable as a library in other programs with cargo.

@kud1ing
Copy link
Contributor

kud1ing commented Jul 7, 2014

I don't yet understand why this necessary. Does it fix #88 ?

@mmerfort
Copy link
Contributor Author

mmerfort commented Jul 8, 2014

Without those changes I could not use rustsqlite as a library:
The library file was “target/deps/liblib-b47d76b0-0.0.rlib” instead of “target/deps/libsqlite3-c8b486a3-0.0.rlib”. This way I could not include the lib with “extern crate sqlite3;” because it was not found.

Here is the Cargo.toml I used to test this: https://gist.github.com/mmerfort/d14863316f780a30094b

@kud1ing
Copy link
Contributor

kud1ing commented Jul 8, 2014

Ok, i'll merge it then. I was surprised, because the current directroy layout is what the old Cargo suggested.

kud1ing pushed a commit that referenced this pull request Jul 8, 2014
@kud1ing kud1ing merged commit c01638a into linuxfood:master Jul 8, 2014
@kud1ing
Copy link
Contributor

kud1ing commented Jul 8, 2014

Thanks.

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

Successfully merging this pull request may close these issues.

2 participants