History

[clone] move packet-line code into own crate

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.

Sebastian Thiel committed 6 years ago

Commit 879af671 parent bba0a4727 files · +77 −45Browse files

Showing the changes to git-protocol (3 of 27 files). Show all

Unified · Split

3 files
  1. git-protocol/Cargo.toml +1 −1
  2. git-protocol/src/remote_progress.rs +1 −1
  3. git-protocol/tests/remote_progress/mod.rs +1 −1
git-protocol/Cargo.toml+1−1
@@ -15,7 +15,7 @@ doctest = false · 14 unmodified lines
1515 serde1 = ["serde", "bstr/serde1"]
1616
1717 [dependencies]
18−git-transport = { version = "^0.1.0", path = "../git-transport" }
18+git-packetline = { version = "^0.1.0", path = "../git-packetline" }
1919
2020 quick-error = "2.0.0"
2121 serde = { version = "1.0.114", optional = true, default-features = false, features = ["derive"]}
git-protocol/src/remote_progress.rs+1−1
@@ -1,4 +1,4 @@
1−use git_transport::RemoteProgress;
1+use git_packetline::RemoteProgress;
22 use nom::{
33 bytes::complete::{tag, take_till, take_till1},
44 combinator::{map_res, opt},
git-protocol/tests/remote_progress/mod.rs+1−1
@@ -1,7 +1,7 @@
11 mod parse {
22 use bstr::ByteSlice;
3+ use git_packetline::RemoteProgress;
34 use git_protocol::parse_remote_progress;
4− use git_transport::RemoteProgress;
55
66 #[test]
77 fn a_message_we_dont_understand() {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t