git-internals
flate2-rs
git-internals | flate2-rs | |
---|---|---|
2 | 3 | |
4 | 832 | |
- | 1.9% | |
0.0 | 7.3 | |
about 2 years ago | 17 days ago | |
Rust | Rust | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
git-internals
-
Git Internals part 2: packfiles
The source code for this post can be found here.
-
Git Internals part 1: The git object model
The source code for this post can be found here. I've written it in Rust, but you can find git implementations in lots of other languages. The canonical git is written in C.
flate2-rs
-
Announcing diff.rs!
It works by fetching a crate's metadata from crates.io, downloading the sources using reqwest, uncompressing them using flate2, extracting them (using tar), and finally rendering a diff (using similar). In the UI you can switch between different versions of the crate to diff against and it also has a search bar to enter the crate name.
-
Git Internals part 1: The git object model
Let's add a library to read these compressed files. We'll use the Rust library flate2, which includes the functionality we need plus much more.
-
Hey Rustaceans! Got an easy question? Ask here (14/2021)!
https://github.com/rust-lang/flate2-rs ?
What are some alternatives?
crates.io-index - Registry index for crates.io
rust-brotli - Brotli compressor and decompressor written in rust that optionally avoids the stdlib
zip - A simple rust library for working with ZIP archives
bzip2-rs - libbz2 (bzip2 compression) bindings for Rust
rust-lzma - A Rust crate that provides a simple interface for LZMA compression and decompression.
rust-snappy - Snappy bindings for Rust
zopfli - A Rust implementation of the Zopfli compression algorithm.
brotli-rs - A Brotli implementation in pure and safe Rust
lz4 - Rust LZ4 bindins library
tar-rs - Tar file reading/writing for Rust
zip-rs - Zip implementation in Rust
Owin.Compression - Compression (Deflate / GZip) module for Microsoft OWIN filesystem pipeline. Works with Selfhost and also on AspNetCore.