Skip to content
Snippets Groups Projects
Commit e8037dac authored by clonejo's avatar clonejo
Browse files

v0.2.1: updated deps, optimized release builds

parent 6911c706
No related branches found
Tags v0.2.1
No related merge requests found
# v0.2.1
- updated dependencies
- optimized release build
- tested with rust 1.12.0 and cargo 0.13.0
This diff is collapsed.
......@@ -18,3 +18,10 @@ mqtt3 = "^0.1.2"
mqttc = "^0.1.2"
netopt = "^0.1.2"
time = "^0.1"
[profile.release]
opt-level = 3
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
......@@ -7,6 +7,7 @@ use db::DbStored;
pub fn ensure_initialized(path: &Path) -> Result<(), SqliteError> {
match fs::metadata(path) {
Err(_) => {
println!("creating db at {:?}", path);
let con = try!(SqliteConnection::open(path));
create_tables(&con);
insert_initial_status(&con);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment