rename package

This commit is contained in:
vms 2020-09-17 21:28:40 +03:00
parent 394327642e
commit 378ea7c562
3 changed files with 11 additions and 9 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
.idea/*
*.sqlite3 *.sqlite3
Cargo.lock Cargo.lock
target target

View File

@ -1,6 +1,6 @@
[package] [package]
name = "sqlite" name = "fce-sqlite-connector"
version = "0.25.3" version = "0.1.0"
license = "Apache-2.0/MIT" license = "Apache-2.0/MIT"
authors = [ authors = [
"Daniel Dulaney <ddy@vitronic.com>", "Daniel Dulaney <ddy@vitronic.com>",
@ -23,7 +23,7 @@ categories = ["api-bindings", "database"]
keywords = ["database"] keywords = ["database"]
[lib] [lib]
name = "sqlite" name = "fce_sqlite_connector"
path = "src/lib.rs" path = "src/lib.rs"
[[bin]] [[bin]]

View File

@ -1,14 +1,14 @@
extern crate fluence; extern crate fluence;
extern crate sqlite; extern crate fce_sqlite_connector;
use fluence::fce; use fluence::fce;
use sqlite::State; use fce_sqlite_connector::State;
pub fn main() {} pub fn main() {}
#[fce] #[fce]
pub fn test1() { pub fn test1() {
let connection = sqlite::open(":memory:").unwrap(); let connection = fce_sqlite_connector::open(":memory:").unwrap();
connection connection
.execute( .execute(
@ -32,7 +32,7 @@ pub fn test1() {
#[fce] #[fce]
pub fn test2() { pub fn test2() {
let connection = sqlite::open(":memory:").unwrap(); let connection = fce_sqlite_connector::open(":memory:").unwrap();
println!("connection id = {}\n", connection.as_raw()); println!("connection id = {}\n", connection.as_raw());
connection connection
@ -58,9 +58,9 @@ pub fn test2() {
} }
#[fce] #[fce]
pub fn test3() { 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 connection
.execute( .execute(