moonfire-nvr/db
Scott Lamb 7dd98bb76a db crate support for updating signals (#28)
This is a definite work in progress. In particular,

* there's no src/web.rs support yet so it can't be used,
* the code is surprisingly complex, and there's almost no tests so far.
  I want to at least get complete branch coverage.
* I may still go back to time_sec rather than time_90k to save RAM and
  flash.

I simplified the approach a bit from the earlier goal in design/api.md.
In particular, there's no longer the separate concept of "observation"
vs "prediction". Now the predictions are just observations that extend a
bit beyond now. They may be flushed prematurely and I'll try living with
that to avoid making things even more complex.
2019-06-13 22:25:55 -07:00
..
testdata initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
upgrade db crate support for updating signals (#28) 2019-06-13 22:25:55 -07:00
Cargo.toml upgrade db's parking_lot dependency too 2019-05-31 16:21:10 -07:00
auth.rs db crate support for updating signals (#28) 2019-06-13 22:25:55 -07:00
check.rs upgrade rusqlite, bump required Rust to 1.33 2019-05-31 16:19:04 -07:00
coding.rs initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
db.rs db crate support for updating signals (#28) 2019-06-13 22:25:55 -07:00
dir.rs lose "extern crate" everywhere (Rust 2018 edition) 2018-12-28 21:59:39 -06:00
lib.rs read-only signals support (#28) 2019-06-06 16:20:44 -07:00
raw.rs upgrade rusqlite, bump required Rust to 1.33 2019-05-31 16:19:04 -07:00
recording.rs db crate support for updating signals (#28) 2019-06-13 22:25:55 -07:00
schema.proto update design docs for new-schema branch changes 2018-03-24 20:51:30 -07:00
schema.rs upgrade a few deps 2018-08-24 22:06:14 -07:00
schema.sql db crate support for updating signals (#28) 2019-06-13 22:25:55 -07:00
signal.rs db crate support for updating signals (#28) 2019-06-13 22:25:55 -07:00
testutil.rs properly test fix for #64 2019-01-04 16:11:58 -08:00
writer.rs make Writer enforce maximum recording duration 2019-01-29 08:26:36 -08:00