Damien Elmes
e734e720b5
Expose backend_proto publicly for AnkiDroid, and rename to pb
...
We were aliasing it on import half the time anyway
2022-06-27 15:27:53 +10:00
Damien Elmes
594f957bbb
add a builder for Collection
2021-11-06 14:43:41 +10:00
Damien Elmes
d89c538c48
in/out -> request/response
...
The saved characters weren't worth the increased difficulty when
reading, and the fact that we were deviating from protobuf norms.
2021-06-20 15:49:20 +10:00
Damien Elmes
d76ef9cde5
update Rust deps
...
- tokio 1.0
- updated reqwest, thanks to Rumo
- other minor dep updates
the reqwest build file has been split into two, as it was awkward
to manually update the combined file, and the platform gate is now
on the target in rslib/
2021-04-27 22:18:12 +10:00
Damien Elmes
363a843d07
tidy up Rust imports
...
rustfmt can do this automatically, but only when run with a nightly
toolchain, so it needs to be manually done for now - see rslib/rusfmt.toml
2021-04-18 18:38:54 +10:00
Damien Elmes
8c635f9337
move sync/network errors into separate file
2021-04-01 17:02:54 +10:00
Damien Elmes
cc54a9251e
crate::err -> crate::error
2021-04-01 16:07:13 +10:00
Damien Elmes
9a7f0f9f5d
i18n->tr in rslib/ to match Python/TS code
2021-03-27 12:09:51 +10:00
Damien Elmes
c30d3ee137
split out sync, notetypes and config code
2021-03-11 15:47:31 +10:00