summaryrefslogtreecommitdiffstats
path: root/store/build.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@pep-project.org>2017-12-14 13:39:34 +0100
committerJustus Winter <justus@pep-project.org>2018-01-08 18:07:03 +0100
commitbcc668602092449fa53fe80341d73c34818821b7 (patch)
tree5e1694253550aed86d9c2fb277b050abe3581101 /store/build.rs
parent969b94846ec223df24ebfb56b69b63a530b1c555 (diff)
store: New store module.
- The store stores transferable public keys in a SQLite database. It runs either in an external process, or is co-located in the current process. - The store provides any number of stores for each application, identified by domain and name. Each store maps labels to TPKs. - The store uses a unified pool of TPKs. In the future, this pool is automatically kept up-to-date.
Diffstat (limited to 'store/build.rs')
-rw-r--r--store/build.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/store/build.rs b/store/build.rs
new file mode 100644
index 00000000..d7bd89d3
--- /dev/null
+++ b/store/build.rs
@@ -0,0 +1,10 @@
+extern crate capnpc;
+
+fn capnp(src: &str) {
+ println!("rerun-if-changed={}", src);
+ ::capnpc::CompilerCommand::new().file(src).run().unwrap();
+}
+
+fn main() {
+ capnp("src/store_protocol.capnp");
+}