This is when I learned that there is also a long-running processes format that uses packet-line to communicate. Thus it doesn't belong in transport anymore, which was the previous 'best fit'. Since it's a serialization format, setting up its own crate makes quite some sense.
Showing the changes to git-protocol/tests/remote_progress (1 of 27 files). Show all
Unified · Split
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | mod parse { |
| 2 | 2 | use bstr::ByteSlice; |
| 3 | + use git_packetline::RemoteProgress; | |
| 3 | 4 | use git_protocol::parse_remote_progress; |
| 4 | − use git_transport::RemoteProgress; | |
| 5 | 5 | |
| 6 | 6 | #[test] |
| 7 | 7 | fn a_message_we_dont_understand() { |