From e18b7f57acbc2876447027952c27c1ab7ac25687 Mon Sep 17 00:00:00 2001 From: Ivan Ukhov Date: Thu, 28 May 2015 17:21:43 -0400 Subject: [PATCH] Initialize the project --- .gitignore | 2 ++ Cargo.toml | 13 +++++++++++++ LICENSE.txt | 21 +++++++++++++++++++++ README.md | 11 +++++++++++ src/lib.rs | 6 ++++++ 5 files changed, 53 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a9d37c5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +target +Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..285bd6e --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "sqlite" +version = "0.0.1" +authors = ["Ivan Ukhov "] +license = "MIT" +repository = "https://github.com/stainless-steel/sqlite" +homepage = "https://github.com/stainless-steel/sqlite" +documentation = "https://stainless-steel.github.io/sqlite" +description = "The package provides an interface to SQLite." + +[dependencies] +libc = "*" +sqlite3-sys = "*" diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..73b5827 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright 2015 Ivan Ukhov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..bfe1ef2 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# SQLite + +The package provides an interface to [SQLite][1]. + +## Contributing + +1. Fork the project. +2. Implement your idea. +3. Open a pull request. + +[1]: https://www.sqlite.org diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..0baca11 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,6 @@ +extern crate libc; +extern crate sqlite3_sys as raw; + +#[cfg(test)] +mod tests { +}