Paper wallet for Hush, which you can use with no internet access while wearing a tinfoil hat inside of a Faraday cage. https://hush.is
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
jahway603 9a2d84a48f rust devs hate backwards compatibility, so we vendor 1 year ago
..
benches rust devs hate backwards compatibility, so we vendor 1 year ago
examples rust devs hate backwards compatibility, so we vendor 1 year ago
src rust devs hate backwards compatibility, so we vendor 1 year ago
.cargo-checksum.json rust devs hate backwards compatibility, so we vendor 1 year ago
CHANGELOG.md rust devs hate backwards compatibility, so we vendor 1 year ago
Cargo.toml rust devs hate backwards compatibility, so we vendor 1 year ago
LICENSE-APACHE rust devs hate backwards compatibility, so we vendor 1 year ago
LICENSE-MIT rust devs hate backwards compatibility, so we vendor 1 year ago
README.md rust devs hate backwards compatibility, so we vendor 1 year ago
appveyor.yml rust devs hate backwards compatibility, so we vendor 1 year ago

README.md

jpeg-decoder

Rust CI AppVeyor Build Status Crates.io

A Rust library for decoding JPEGs.

Documentation

Example

Cargo.toml:

[dependencies]
jpeg-decoder = "0.1"

main.rs:

extern crate jpeg_decoder as jpeg;

use std::fs::File;
use std::io::BufReader;

fn main() {
    let file = File::open("hello_world.jpg").expect("failed to open file");
    let mut decoder = jpeg::Decoder::new(BufReader::new(file));
    let pixels = decoder.decode().expect("failed to decode image");
    let metadata = decoder.info().unwrap();
}

Requirements

This crate compiles only with rust >= 1.34.