From 378ea7c5622215ed656c269d2008b5fb926698be Mon Sep 17 00:00:00 2001 From: vms Date: Thu, 17 Sep 2020 21:28:40 +0300 Subject: [PATCH] rename package --- .gitignore | 2 ++ Cargo.toml | 6 +++--- src/test.rs | 12 ++++++------ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 4dce8c8..e0fcc69 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.idea/* + *.sqlite3 Cargo.lock target diff --git a/Cargo.toml b/Cargo.toml index ff3f55e..07fc780 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "sqlite" -version = "0.25.3" +name = "fce-sqlite-connector" +version = "0.1.0" license = "Apache-2.0/MIT" authors = [ "Daniel Dulaney ", @@ -23,7 +23,7 @@ categories = ["api-bindings", "database"] keywords = ["database"] [lib] -name = "sqlite" +name = "fce_sqlite_connector" path = "src/lib.rs" [[bin]] diff --git a/src/test.rs b/src/test.rs index 76f9bef..0806139 100644 --- a/src/test.rs +++ b/src/test.rs @@ -1,14 +1,14 @@ extern crate fluence; -extern crate sqlite; +extern crate fce_sqlite_connector; use fluence::fce; -use sqlite::State; +use fce_sqlite_connector::State; pub fn main() {} #[fce] pub fn test1() { - let connection = sqlite::open(":memory:").unwrap(); + let connection = fce_sqlite_connector::open(":memory:").unwrap(); connection .execute( @@ -32,7 +32,7 @@ pub fn test1() { #[fce] pub fn test2() { - let connection = sqlite::open(":memory:").unwrap(); + let connection = fce_sqlite_connector::open(":memory:").unwrap(); println!("connection id = {}\n", connection.as_raw()); connection @@ -58,9 +58,9 @@ pub fn test2() { } #[fce] pub fn test3() { - use sqlite::Value; + use fce_sqlite_connector::Value; - let connection = sqlite::open(":memory:").unwrap(); + let connection = fce_sqlite_connector::open(":memory:").unwrap(); connection .execute(