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
|
1 year ago | |
---|---|---|
.. | ||
benches | 1 year ago | |
examples | 1 year ago | |
src | 1 year ago | |
.cargo-checksum.json | 1 year ago | |
CHANGELOG.md | 1 year ago | |
Cargo.toml | 1 year ago | |
LICENSE-APACHE | 1 year ago | |
LICENSE-MIT | 1 year ago | |
README.md | 1 year ago | |
appveyor.yml | 1 year ago |
README.md
jpeg-decoder
A Rust library for decoding JPEGs.
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.