kennytm
|
11a7b56dca
|
Fix clippy
|
2020-02-11 17:31:37 +08:00 |
kennytm
|
1e228247b0
|
Run cargo fmt
|
2020-02-11 16:32:29 +08:00 |
Vladimir Serov
|
f395cf2029
|
unicode: non-inverted test
|
2020-02-11 11:05:53 +03:00 |
Vladimir Serov
|
1fb4556b7f
|
rename utf8 → unicode
|
2020-02-11 10:57:02 +03:00 |
Vladimir Serov
|
9c1476e06c
|
utf-8: better formatted qr code in test
|
2020-02-11 10:55:29 +03:00 |
Vladimir Serov
|
372c4e6c3e
|
utf-8: renamed canvas and pixel
|
2020-02-11 10:55:05 +03:00 |
Vladimir Serov
|
c8eb4c0ae7
|
utf8: removed redundant doc(hidden) annotation
|
2020-02-10 14:16:18 +03:00 |
Vladimir Serov
|
8fd2fc2fe6
|
utf-8: added integration test
|
2020-02-09 17:53:40 +03:00 |
Vladimir Serov
|
398e2d33f8
|
utf-8: minor reformatting
|
2020-02-09 17:35:31 +03:00 |
Vladimir Serov
|
f606807b08
|
utf-8: moved codepage into a constant, and encoder into pixel impl
|
2020-02-09 17:34:14 +03:00 |
Vladimir Serov
|
083d6304ba
|
utf-8: changed pixel type to Unicode1x2
|
2020-02-09 17:33:42 +03:00 |
Vladimir Serov
|
9505e7a175
|
utf-8: better variable name for lambda
|
2020-02-09 17:31:10 +03:00 |
Vladimir Serov
|
ec6b09e319
|
utf-8: included into mod.rs
|
2020-02-09 16:04:45 +03:00 |
Vladimir Serov
|
521b595b9e
|
utf-8: initial support
|
2020-02-09 15:51:37 +03:00 |
kennytm
|
c2c875f6c3
|
Fix doc failure on nightly.
Fix #41.
|
2020-01-05 00:14:49 +08:00 |
kennytm
|
a59af5cb85
|
Set edition to 2018.
|
2019-12-22 17:34:09 +08:00 |
Atul Bhosale
|
a64aa69716
|
Format code using 'cargo fmt'
|
2019-08-13 00:06:49 +05:30 |
kennytm
|
a9184ef10f
|
Merge pull request #30 from jbg/master
*image* v0.22.0
|
2019-08-04 15:11:22 +08:00 |
Markus Kohlhase
|
b385e67a5e
|
Add 'width' and 'height' properties to SVG output
|
2019-08-01 17:03:50 +02:00 |
kennytm
|
2c8e9b2c83
|
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
|
80cf55bd12
|
Updated to *image* v0.22.0
|
2019-07-28 09:14:06 +01:00 |
Ivan Tham
|
81404acbbd
|
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
|
0089a258f2
|
Remove extra space in cfg_attr doc
|
2019-06-16 18:01:43 +08:00 |
Kyle Clemens
|
291f5be41e
|
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 |
Ignas Anikevicius
|
25dc92ab5d
|
Fix TODO: use sum insted of left fold
|
2018-11-04 20:40:44 +02:00 |
Ethan Pailes
|
f2c33507df
|
make QrError std::error::Error
|
2018-10-13 14:49:11 -04:00 |
kennytm
|
a5154325a0
|
Fix clippy warnings.
|
2018-07-30 17:31:40 +08:00 |
kennytm
|
6da64e0836
|
rustfmt.
|
2018-07-30 16:59:49 +08:00 |
Ignas Anikevicius
|
2492d064af
|
Use ..= in canvas.rs
|
2018-07-29 19:14:58 +03:00 |
kennytm
|
aa43339fee
|
Make sure README.md is tested.
Fixes #18.
|
2018-05-05 22:50:01 +08:00 |
kennytm
|
9d4b8d9762
|
Rustfmt and clippy.
|
2017-11-07 22:12:18 +08:00 |
Jovansonlee Cesar
|
1699fa1f81
|
Fix render to string test case
|
2017-07-18 16:04:36 +08:00 |
Jovansonlee Cesar
|
0eceb9164f
|
Use unicode block for rendering of string qr
|
2017-07-18 15:21:58 +08:00 |
kennytm
|
c74bfa0dce
|
Support SVG rendering.
Fixes #8.
|
2017-05-23 06:56:22 +08:00 |
kennytm
|
58ca63c6ec
|
Refactor Renderer to support rendering to String.
Closes #12.
|
2017-05-23 06:56:22 +08:00 |
kennytm
|
d4b7aa832c
|
Remove num-traits dependency.
|
2017-05-23 06:56:22 +08:00 |
kennytm
|
552f214b3a
|
Change all bool type to explicit Color type.
|
2017-05-23 06:56:22 +08:00 |
kennytm
|
66e30219ba
|
Fix doctest when feature can be changed.
|
2017-05-18 22:21:31 +08:00 |
kennytm
|
71d9903a97
|
Incorporate README example directly into doc test.
|
2017-01-27 01:02:34 +08:00 |
kennytm
|
38e822d0e5
|
Minor changes.
|
2016-06-08 01:05:06 +08:00 |
kennytm
|
0d2c56db62
|
Support image generation.
|
2016-06-08 00:31:11 +08:00 |
kennytm
|
a1786e0449
|
Relicense as Apache-2 + MIT.
Remove license footer (useless and awkward for dual licensing).
|
2016-06-08 00:30:47 +08:00 |
kennytm
|
ba50fb3673
|
Version -> 0.2.0. Change full `num` dependency to the lighter `num_traits`.
|
2016-06-05 01:28:15 +08:00 |
kennytm
|
82b2dc60eb
|
Expose the maximum length for a EC-level via Bits::max_len. Fixes #3.
|
2016-06-05 01:00:02 +08:00 |
kennytm
|
fee9deda25
|
Fix wrong EC constant of Version-27-Q. Fix issue #7.
|
2016-06-05 01:00:02 +08:00 |
kennytm
|
98c18ca215
|
Merge pull request #4 from Stebalien/generic
Accept generic AsRef<[u8]> as input
|
2016-05-16 22:25:01 +08:00 |
Steven Allen
|
5777666159
|
Don't unecessarily clone vec
|
2016-05-16 10:03:03 -04:00 |
Steven Allen
|
7d4299cb8d
|
Accept generic AsRef<[u8]> as input
|
2016-05-16 09:42:05 -04:00 |
kennytm
|
38cfbc386f
|
Enable benchmarking only with a feature. >:-(
|
2015-07-05 03:40:04 +08:00 |
kennytm
|
fd0acd12ee
|
Remove stability attributes.
|
2015-04-26 23:47:27 +08:00 |