deflate-macro 0.1.0

A macro for using encoded value in binary but decompress on runtime
Documentation
  • Coverage
  • 100%
    2 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 5.77 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 124.92 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • elpiel github:stremio:crates-release-team

How to use:

In Cargo.toml:

[dependencies]
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
deflate-macro = "0.1"
/// Path relative to the cargo crate
pub static COMPILE_TIME_COMPRESSED_RUNTIME_DECOMPRESSED: String = deflate_macro::decompress!("addons.json");