Commit graph

130 commits

Author SHA1 Message Date
Vladimir Serov fdc37548f5 utf-8: added README section 2020-02-09 16:24:59 +03:00
Vladimir Serov d8262b278a utf-8: included into mod.rs 2020-02-09 16:04:45 +03:00
Vladimir Serov 0085199914 utf-8: initial support 2020-02-09 15:51:37 +03:00
kennytm e6c0d85555 Fix doc failure on nightly.
Fix #41.
2020-01-05 00:14:49 +08:00
kennytm bcecedf489 Merge pull request #40 from kennytm/ed2018
Use 2018 edition (MSRV = 1.33.0).
2019-12-22 17:43:13 +08:00
kennytm 518c6ecbe4 Set edition to 2018. 2019-12-22 17:34:09 +08:00
kennytm 6b9681dd6b Bump min Rust version to 1.33.0
jpeg-decoder relies on matching all of 0x00..=0xff exhausts u8,
which requires 1.33.0.
2019-12-22 16:57:53 +08:00
kennytm 6323585a35 Merge pull request #32 from Atul9/cargo-fmt
Format code using 'cargo fmt'
2019-08-17 14:35:38 +08:00
Atul Bhosale e3e2273e07 Format code using 'cargo fmt' 2019-08-13 00:06:49 +05:30
kennytm 6b673a42ca Merge pull request #30 from jbg/master
*image* v0.22.0
2019-08-04 15:11:22 +08:00
kennytm cf40fd60bf Merge pull request #31 from slowtec/svg-size
Add 'width' and 'height' properties to SVG output
2019-08-03 15:55:29 +08:00
Markus Kohlhase 9759b195a5 Add 'width' and 'height' properties to SVG output 2019-08-01 17:03:50 +02:00
kennytm 8d0f7798c4 Bump minimum Rust version 2019-07-30 11:23:10 +08:00
kennytm 40eed60eb4 Merge pull request #27 from pickfire/master
Remove extra space in cfg_attr doc
2019-07-30 11:21:16 +08:00
Jasper Bryant-Greene ed7951ab62 Bumped crate version 2019-07-28 09:14:26 +01:00
Jasper Bryant-Greene 843ed71a68 Updated to *image* v0.22.0 2019-07-28 09:14:06 +01:00
kennytm f3bd380c03 Version = 0.10.1 2019-07-07 02:02:30 +08:00
kennytm 0a4c64842d Merge pull request #28 from pickfire/branchless
Use branchless binary search to find_min_version
2019-07-06 23:46:22 +08:00
Ivan Tham 6c17473c7d Use branchless binary search to find_min_version
Constant search time and no unpredictable conditional branches
Benchmark results: 39 ns/iter -> 2 ns/iter (including multiple call)

Based on https://github.com/rust-lang/rust/pull/45333
Inspired by https://raw.githubusercontent.com/RustStudy/rust_daily_news/master/img/%E4%BA%8C%E7%BB%B4%E7%A0%81%E7%94%9F%E6%88%90.png
2019-07-06 23:24:26 +08:00
Ivan Tham 17107cb809 Remove extra space in cfg_attr doc 2019-06-16 18:01:43 +08:00
kennytm b93b1cd318 Version = 0.10.0 2019-04-19 03:48:30 +08:00
kennytm 399e6e6f1f Merge pull request #25 from ignatenkobrain/patch-1
chore: Update image to 0.21
2019-04-19 03:36:44 +08:00
kennytm 90811d79ba Disable coverage on macOS. 2019-04-19 03:34:20 +08:00
Igor Gnatenko 8a8127f9ab chore: Update image to 0.21 2019-03-15 07:15:53 +01:00
kennytm cbc6cd3192 Merge pull request #23 from jkcclemens/master
Don't depend on image crate default features
2018-11-09 19:27:05 +08:00
kennytm 8baee925a2 Merge pull request #24 from jkcclemens/viewBox
feat: set a viewBox on svg renders
2018-11-09 19:25:51 +08:00
Kyle Clemens 18e4ab98c4 feat: set a viewBox on svg renders
Instead of hard-coding a width and height, let the SVG scale according to its width and height.
2018-11-07 09:39:33 -05:00
Kyle Clemens 70fbcb8f24 fix: add image with default features as a dev-dependency 2018-11-07 09:15:43 -05:00
Kyle Clemens b722c0da19 chore: don't depend on image default features 2018-11-07 09:05:06 -05:00
kennytm 820ebfba0e Merge pull request #22 from aignas/TODO-fix-1
Fix TODO: use sum insted of left fold
2018-11-05 10:12:29 +08:00
Ignas Anikevicius 594724759c Fix TODO: use sum insted of left fold 2018-11-04 20:40:44 +02:00
kennytm 9607069265 Update version and dependencies 2018-10-14 02:37:49 +08:00
kennytm 90c71c1b01 Merge pull request #21 from ethanpailes/master
make QrError std::error::Error
2018-10-14 01:32:34 +08:00
Ethan Pailes 959137cf61 make QrError std::error::Error 2018-10-13 14:49:11 -04:00
kennytm 14e81b3502 Update README as well. 2018-07-30 18:23:08 +08:00
kennytm a4597dd62b Test with 1.26.2 instead of 1.26.0, and latest stable instead of 1.27. 2018-07-30 17:37:16 +08:00
kennytm 049ebbefdb Fix clippy warnings. 2018-07-30 17:31:40 +08:00
kennytm 51dd9c4fa1 rustfmt. 2018-07-30 16:59:49 +08:00
kennytm 01f209d0a5 Merge pull request #20 from aignas/inclusive-range
Use ..= in canvas.rs
2018-07-30 16:12:30 +08:00
Ignas Anikevicius 5329a7ec18 Bump the crate version as min Rust version now is 1.26.0 2018-07-29 19:21:24 +03:00
Ignas Anikevicius e9a7756693 Use ..= in canvas.rs 2018-07-29 19:14:58 +03:00
Ignas Anikevicius cd713761ab Update Travis to rust matrix to include versions that have ..= 2018-07-29 19:14:39 +03:00
kennytm a659c651f6 Upgrade minimum Rust dependency to 1.23.0 (needed by image 0.19.0) 2018-05-05 22:58:19 +08:00
kennytm 702e18b2a8 Make sure README.md is tested.
Fixes #18.
2018-05-05 22:50:01 +08:00
kennytm a93111d930 Update dependencies. 2018-05-05 22:49:35 +08:00
kennytm c19ace9100 Cargo update. 2018-03-26 19:44:45 +08:00
kennytm 6667e3da08 >:-( 2018-03-26 19:43:42 +08:00
kennytm 21efb6205e Rustfmt and clippy. 2017-11-07 22:12:18 +08:00
kennytm 8be25fa56a Update dependencies. 2017-11-03 06:15:01 +08:00
kennytm 000e218b62 Merge pull request #15 from ivanceras/master
Use unicode block for rendering of QR string
2017-07-18 16:23:25 +08:00