Commit Graph

19 Commits

Author SHA1 Message Date
onyinyang e2fc5b7ac6
Update rdsys-backend Cargo.toml for workspace 2023-06-05 15:00:30 -04:00
onyinyang 5d2e4f2187
Merge 'rdsys-backend/main' into lox-workspace 2023-06-05 14:56:41 -04:00
onyinyang e7023fd731
initial workspace commit 2023-06-05 13:24:42 -04:00
onyinyang abd8c2973d
Removing test function 2023-04-10 11:24:53 -04:00
onyinyang f1c1d4852a
Add get_uid function for API resource 2023-04-04 16:10:16 -04:00
Cecylia Bocovich eb43414574 Only return Poll::Pending if the inner future returns it
The waker stored in the future will only wake up and re-poll the stream
if the call to future returned Poll::Pending. Because of this, if we
didn't receive enough data to reconstruct the ResourceDiff, we need to
loop and poll the inner future again rather than return Poll::Pending
ourselves.
2023-03-22 17:41:08 -04:00
Cecylia Bocovich e1e5e798b6 Use a ReusableBoxFuture to store ReceiverStream 2023-03-22 15:05:05 -04:00
Cecylia Bocovich 0b0324c487 Change ResourceStream from an Iterator into a Stream 2023-03-21 17:37:15 -04:00
Cecylia Bocovich 1da6e245cc Formatting and documentation fixes 2023-01-30 17:05:38 -05:00
Cecylia Bocovich 46d51315b6 Use rust listing in markdown 2023-01-30 15:25:41 -05:00
Cecylia Bocovich 6eb8f575ca Add proto.rs after module refactor 2023-01-30 15:24:58 -05:00
Cecylia Bocovich 0f60fabae6 Add README 2023-01-30 15:24:47 -05:00
Cecylia Bocovich 685541176b Add documentation 2023-01-30 15:23:01 -05:00
Cecylia Bocovich 04e7caef31 Refactor modules 2023-01-30 15:08:30 -05:00
Cecylia Bocovich 9d448b00b4 Return an iterator over ResourceDiff items
Rather than returning a Receiver<Bytes>, instead return a ResourceStream
struct that implements the Iterator trait so callers can simply iterate
over the ResourceDiff items received.
2023-01-30 15:03:14 -05:00
Cecylia Bocovich c89aa4a9f9 Add function to start a resource-stream connection
At the moment the start_stream function very simply prints out each
response as it arrives.
2023-01-29 14:18:39 -05:00
Cecylia Bocovich 64247c1ceb Add more tests for resource serialization 2023-01-23 12:58:41 -05:00
Cecylia Bocovich d5c98510db Run `cargo fmt` 2023-01-20 16:12:29 -05:00
Cecylia Bocovich c837a13121 Initial commit 2023-01-20 16:01:03 -05:00