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 |
|
Markus Kohlhase
|
9759b195a5
|
Add 'width' and 'height' properties to SVG output
|
2019-08-01 17:03:50 +02: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
|
843ed71a68
|
Updated to *image* v0.22.0
|
2019-07-28 09:14:06 +01: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 |
|
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 |
|
Ignas Anikevicius
|
594724759c
|
Fix TODO: use sum insted of left fold
|
2018-11-04 20:40:44 +02:00 |
|
Ethan Pailes
|
959137cf61
|
make QrError std::error::Error
|
2018-10-13 14:49:11 -04: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 |
|
Ignas Anikevicius
|
e9a7756693
|
Use ..= in canvas.rs
|
2018-07-29 19:14:58 +03:00 |
|
kennytm
|
702e18b2a8
|
Make sure README.md is tested.
Fixes #18.
|
2018-05-05 22:50:01 +08:00 |
|
kennytm
|
21efb6205e
|
Rustfmt and clippy.
|
2017-11-07 22:12:18 +08:00 |
|
Jovansonlee Cesar
|
fc2d2a1f6b
|
Fix render to string test case
|
2017-07-18 16:04:36 +08:00 |
|
Jovansonlee Cesar
|
1904e57746
|
Use unicode block for rendering of string qr
|
2017-07-18 15:21:58 +08:00 |
|
kennytm
|
cd5223640c
|
Support SVG rendering.
Fixes #8.
|
2017-05-23 06:56:22 +08:00 |
|
kennytm
|
0b3b8f2637
|
Refactor Renderer to support rendering to String.
Closes #12.
|
2017-05-23 06:56:22 +08:00 |
|
kennytm
|
3da78c8871
|
Remove num-traits dependency.
|
2017-05-23 06:56:22 +08:00 |
|
kennytm
|
21114481f4
|
Change all bool type to explicit Color type.
|
2017-05-23 06:56:22 +08:00 |
|
kennytm
|
0e1c1fe1f6
|
Fix doctest when feature can be changed.
|
2017-05-18 22:21:31 +08:00 |
|
kennytm
|
c960c09662
|
Incorporate README example directly into doc test.
|
2017-01-27 01:02:34 +08:00 |
|
kennytm
|
c7e6a7a22a
|
Minor changes.
|
2016-06-08 01:05:06 +08:00 |
|
kennytm
|
ebb6c57cb7
|
Support image generation.
|
2016-06-08 00:31:11 +08:00 |
|
kennytm
|
0e1f5bd29a
|
Relicense as Apache-2 + MIT.
Remove license footer (useless and awkward for dual licensing).
|
2016-06-08 00:30:47 +08:00 |
|
kennytm
|
a119c17336
|
Version -> 0.2.0. Change full num dependency to the lighter num_traits .
|
2016-06-05 01:28:15 +08:00 |
|
kennytm
|
5a7a1c65f0
|
Expose the maximum length for a EC-level via Bits::max_len. Fixes #3.
|
2016-06-05 01:00:02 +08:00 |
|
kennytm
|
673ee09ef9
|
Fix wrong EC constant of Version-27-Q. Fix issue #7.
|
2016-06-05 01:00:02 +08:00 |
|
kennytm
|
d5d0c0c7a0
|
Merge pull request #4 from Stebalien/generic
Accept generic AsRef<[u8]> as input
|
2016-05-16 22:25:01 +08:00 |
|
Steven Allen
|
5cd10d5f87
|
Don't unecessarily clone vec
|
2016-05-16 10:03:03 -04:00 |
|
Steven Allen
|
a3bdddef70
|
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 |
|
kennytm
|
6ebf629ba4
|
rustup for beta.
|
2015-04-05 16:18:48 +08:00 |
|
kennytm
|
9f2adaad82
|
rustup.
|
2015-03-26 15:50:58 +08:00 |
|
kennytm
|
4fd82eca2a
|
rustup.
|
2015-03-22 03:01:16 +08:00 |
|
kennytm
|
f68ad4a21a
|
rustup.
|
2015-03-04 05:17:12 +08:00 |
|
kennytm
|
da775325ed
|
rustup.
|
2015-02-21 19:30:12 +08:00 |
|
kennytm
|
068707d312
|
rustup.
|
2015-02-06 19:42:58 +08:00 |
|
kennytm
|
9fe75964ab
|
rustup
|
2015-01-31 18:27:04 +08:00 |
|
kennytm
|
18f9499918
|
rustup.
|
2015-01-25 17:51:54 +08:00 |
|
kennytm
|
ed2e38031c
|
rustup for 1.0.
* uint -> usize
* range(a, b) -> (a .. b)
* #[deriving] -> #[derive]
* [T, ..10] -> [T; 10]
* Iterator<X> -> Iterator<Item=X>
|
2015-01-10 21:53:34 +08:00 |
|
kennytm
|
91fdbeac11
|
Retry doc upload; Kill some deprecated functions.
|
2015-01-01 22:08:33 +08:00 |
|
kennytm
|
db5b6c4581
|
Rustup.
|
2015-01-01 21:39:10 +08:00 |
|
kennytm
|
62b8efd11d
|
Push documentation to rust-ci.
|
2015-01-01 20:33:11 +08:00 |
|
kennytm
|
f33b82bce6
|
Added is_functional() test.
|
2014-12-30 04:46:22 +08:00 |
|
kennytm
|
ca55359656
|
Bump version. Added max_allowed_errors() function.
|
2014-12-30 04:02:57 +08:00 |
|
kennytm
|
d983500a58
|
rustup
|
2014-12-26 05:28:30 +08:00 |
|
kennytm
|
23c2284f09
|
rustup. (missing enum namespace in doctest.)
|
2014-12-04 05:40:17 +08:00 |
|