summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-02-01 17:59:26 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-02-05 17:10:15 -0800
commitc9eac323c7b9069b953292ad36f9dc67c787e860 (patch)
tree20a42409aae9ea9bfd27b764c5661a03f8fa33b9
parentad0d781a2f56ac14d3484f7f253c975eb4b3b7fb (diff)
downloadfatcat-c9eac323c7b9069b953292ad36f9dc67c787e860.tar.gz
fatcat-c9eac323c7b9069b953292ad36f9dc67c787e860.zip
update rust/TODO
-rw-r--r--rust/TODO27
1 files changed, 14 insertions, 13 deletions
diff --git a/rust/TODO b/rust/TODO
index d518bbf9..1487ea14 100644
--- a/rust/TODO
+++ b/rust/TODO
@@ -1,23 +1,25 @@
correctness
-- extra or typo-d fields in requests don't seem to be errors (silently accepted)
-- reread/review editgroup accept code
- changelog sequence without gaps
-- batch insert editgroup behavior; always a new editgroup?
+
+huge compile times:
+- iron not small, but mostly reasonable deps
+- does macaroon need both rustc-serialize and serde?
+- sentry big but almost all "modern" hyper (0.12)
+- slog has a lot of duplication (crossbeam)
+- duplicated libs: 3 syn, 4 uuid, 3 crossbeam (etc), 2 hyper, 2 iron (wait,
+ what?), 3x serde, 4x rand, 2x error-chain
+ => rg '^name =' Cargo.lock | uniq -cd | sort -n
+- try: removing deps from fatcat-api-spec
+- uuid: could now switch to v0.7, needs code changes
refactor:
- consistent `conn` and `context` orders in _handler() functions
edit lifecycle
-- editgroup: state to track review status?
- per-edit extra JSON
-account helper tool
-- set admin bit
-x create editors
-x create keypairs
-x generate tokens
-x test/validate tokens
+- account helper tool: set admin bit
later:
- "prev_rev" required in updates
@@ -28,8 +30,7 @@ later:
- could some of the EntityCrud trait macro stuff be re-implemented as an enum type?
- pure-rust "benchmark" scripts that hit, eg, lookups and batch endpoints
=> criterion.rs benchmarking
-- try new actix/openapi3 codegen branch
-- refactor logging; use slog
+- try new hyper/openapi3 codegen branch
+- refactor logging; simple env-logger-pretty
- test using hash indexes for some UUID column indexes, or at least sha1 and
other hashes (abstracts, file lookups)
-