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
Cargo.lock
target

View File

@ -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 <ddy@vitronic.com>",
@ -23,7 +23,7 @@ categories = ["api-bindings", "database"]
keywords = ["database"]
[lib]
name = "sqlite"
name = "fce_sqlite_connector"
path = "src/lib.rs"
[[bin]]

View File

@ -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(