mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-03-15 06:20:50 +00:00
rename package
This commit is contained in:
parent
394327642e
commit
378ea7c562
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
.idea/*
|
||||
|
||||
*.sqlite3
|
||||
Cargo.lock
|
||||
target
|
||||
|
@ -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]]
|
||||
|
12
src/test.rs
12
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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user