Skip to content

Commit bc120b6

Browse files
committed
Add sandbox
1 parent 09fedf2 commit bc120b6

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

src/rust/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ members = [
44
"lmdb-sys",
55
"blosc-sys",
66
"sqlite-sys",
7+
"sandbox"
78
]

src/rust/sandbox/Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[package]
2+
name = "sandbox"
3+
version = "0.1.0"
4+
authors = ["Victor Baybekov <vbaybekov@gmail.com>"]
5+
edition = "2018"
6+
publish = false
7+
8+
[dependencies]
9+
corelib = { version = "*", path = "../corelib" }
10+
libc = { version = "0.2"}

src/rust/sandbox/src/main.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
extern crate corelib;
2+
3+
fn main() -> () {
4+
println!("LMDB: {}", corelib::lmdb_version());
5+
println!("Blosc: {}", corelib::blosc_version());
6+
println!("SQLite: {}", corelib::sqlite_version());
7+
}

0 commit comments

Comments
 (0)