Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rushsteve1/include_data_uri

Include a file as a data URI into your Rust program
https://github.com/rushsteve1/include_data_uri

Last synced: 9 days ago
JSON representation

Include a file as a data URI into your Rust program

Awesome Lists containing this project

README

        

# `include_data_uri`

[![Crate](https://img.shields.io/crates/v/include_data_uri.svg)](https://crates.io/crates/include_data_uri)
[![Docs](https://docs.rs/include_data_uri/badge.svg)](https://docs.rs/include_data_uri)
[![Rust CI](https://github.com/rushsteve1/include_data_uri/actions/workflows/rust.yml/badge.svg)](https://github.com/rushsteve1/include_data_uri/actions/workflows/rust.yml)

A simple
[Proc Macro](https://doc.rust-lang.org/reference/procedural-macros.html)
library for embedding a file as a
[base64 encoded](https://en.wikipedia.org/wiki/Base64)
[data URI](https://en.wikipedia.org/wiki/Data_URI_scheme)
into your Rust program.

Bugs and Contributions welcome!