Popularity
1.2
Growing
Activity
0.0
Stable
15
3
7
Programming language: Rust
Tags:
Compression
rust-snappy alternatives and similar packages
Based on the "Compression" category.
Alternatively, view rust-snappy alternatives based on common mentions on social networks and blogs.
-
rust-brotli
Brotli compressor and decompressor written in rust that optionally avoids the stdlib -
rust-lzma
A Rust crate that provides a simple interface for LZMA compression and decompression.
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Promo
www.influxdata.com
Do you think we are missing an alternative of rust-snappy or a related project?
README
Snappy
[ Originally forked from https://github.com/thestinger/rust-snappy ]
Usage
Add this to your Cargo.toml
:
[dependencies]
snappy = "0.4"
and this to your crate root:
extern crate snappy;
Installing Snappy
- The Snappy C++ library can be installed on Mac OS X using homebrew
brew install snappy
. - If that library is not installed in the usual path, you can export
the
LD_LIBRARY_PATH
andLD_RUN_PATH
environment variables before issueingcargo build
. - Static linking can be requested by an
export SNAPPY_SYS_STATIC=1
prior tocargo build
. - As a fallback, this crate will try to compile the Snappy C++ library
itself and statically link against it. (This behavior can be
enforced by an
export SNAPPY_SYS_STATIC_FROM_SOURCE=1
prior tocargo build
.)
Building
The Snappy C++ library is also optionally bundled as a submodule. A
git submodule update --init
will fetch a copy of the library for local compilation. This can will
then be used if the c++ library cannot be found on your system or
if SNAPPY_SYS_STATIC_FROM_SOURCE
is set to 1
.