Dustin J. Mitchell
97a8a87c24
Merge pull request #64 from djmitche/issue57
...
Add RemoteServer to the taskchampion crate
2020-11-27 20:23:39 -05:00
Dustin J. Mitchell
2a37f090a5
Add RemoteServer to the taskchampion crate
2020-11-27 20:15:17 -05:00
Dustin J. Mitchell
3092a6bb7f
do not require taskchampion from sync-server
2020-11-27 20:08:54 -05:00
Dustin J. Mitchell
b0dd3905e7
fix crate name for tc-sync-server
2020-11-26 22:30:07 -05:00
Dustin J. Mitchell
5b1b911bf7
Move add_version and get_child_version to server module
...
..and add some tests specifically for those functions, in the absence of
all the HTTP nonsense.
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
fb22b9686f
refactor sync server to use pluggable storage
...
..with a fixed implementation of the replica / server protocol logic.
There isn't much logic yet, and there's a lot of boilerplate to take
care of, so this looks a little lopsided, but I'm confident this is the
right structure for this code's future.
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
7472749fee
add tests for API methods
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
2dae271851
build an in-memory sync server implementation
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
2457d8bc43
move types in crate::types to crate::server
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
e84871931f
Refactor HTTP implementation of API methods
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
a5c06008b3
use a trait object for the server, for dynamic dispatch
2020-11-26 19:59:52 -05:00
Dustin J. Mitchell
087333a227
refactor sync server into modules
2020-11-26 19:59:49 -05:00
Dustin J. Mitchell
ca70d2c914
add cargo clippy to CI
2020-11-24 13:02:14 -05:00
Dustin J. Mitchell
779a331003
reorganize into separate crates
...
- taskchampion -- core implementation of a replica
- taskchampion-cli -- command-line interface
- taskchampion-sync-server -- server implementation (not much yet!)
2020-11-23 14:27:47 -05:00