4 ms·
Why does a directory lister need an HTTP parser?
by erichurkman 9y ago
Why does a directory lister need an HTTP parser?
- rrdharan 9y agoI am wondering that too, but FWIW `sudo apt-get install libhttp-parser2.1` will have you on your way.
- assafmo 9y agoThanks, but I wanted to report it nevertheless because it says the file is self contained.
- steveklabnik 9y agoA bug was filed a week ago https://github.com/ogham/exa/issues/194 https://github.com/ogham/exa/issues/194
- steveklabnik 9y agoThis binds to libgit2, which binds to curl. I believe that brings it in.
- cytzol 9y agoYou are correct. exa uses libgit2 for its Git column, and the library's networking parts must still be included when they aren't even being used anyway. I can see how it looks VERY SUSPICIOUS for a file lister to be parsing HTTP headers! I'm not going to sell your directory entries to advertisers, I promise.
- kibwen 9y agoFor more paranoid folks, it would be nice to have a configuration option to forego the git features and thereby remove the need for linking in any networking code. :)
- steveklabnik 9y agoThere is one already; it's a cargo feature.
- Pewqazz 9y agoI wrote the original Homebrew formula for exa and remembered adding support for the Git-less install, so I was surprised to see it wasn't there anymore! Seems like it was removed in this version bump [1] — I'll open a PR adding it back in. [1]: https://github.com/Homebrew/homebrew-core/pull/13676 https://github.com/Homebrew/homebrew-core/pull/13676
- deleted 9y ago[deleted]