git pkt-line format

Git uses pkt-line in the pack and http protocols, and for the long-running
filter processes protocol as well.

This should be a quite efficient parser and builder since it uses
attoparsec and bytestring-builder.

This adds a dependency on attoparsec, but it's a free dependency because
eg aeson depends on attoparsec and git-annex depends on aeson.

This commit was supported by the NSF-funded DataLad project.
This commit is contained in:
Joey Hess 2018-08-10 13:38:29 -04:00
parent 816e0e356b
commit 1272ccdf1e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 139 additions and 0 deletions

1
debian/control vendored
View file

@ -12,6 +12,7 @@ Build-Depends:
libghc-pcre-light-dev,
libghc-cryptonite-dev,
libghc-memory-dev,
libghc-attoparsec-dev,
libghc-sandi-dev,
libghc-utf8-string-dev,
libghc-aws-dev (>= 0.9.2-2~),