include_file_compress 0.1.3

Includes content of file in your binary with compression at compile time.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Include file with compile-time compression

This procedural macros includes content of file in your binary with compression at compile time.

It can be useful for including static content of CSS, JS files with compression in compile time.

At this moment `deflate` compression using `flate2` library is supported only.

# Example

```rust
use include_file_compress::include_file_compress_deflate;

let _compressed =
    include_file_compress_deflate!("data_samples/data.txt", 5);
```