Run aarch64 tests with --release These are being emulated, with instruction count adding significantly to the runtime. As it stands this is >20 minutes for a full run which is the bottleneck of our CI times. It should not be necessary to run these with debug flags. The main reason to have the at all, the arch/aarch64 inline SIMD code, is not affected by flags in any case.
A Rust library for decoding JPEGs.
Cargo.toml:
[dependencies] jpeg-decoder = "0.2"
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(); }
This crate compiles with rust >= 1.48. Minimum Supported Rust Version:
0.1.* compile with rust >= 1.36.0.2.* may bump Rust Version requirements (TBD).