Commit graph

58 commits

Author SHA1 Message Date
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
kennytm 3963fa916d Merge pull request #5 from Stebalien/no-clone
Don't unecessarily clone vec
2016-05-16 22:18:13 +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 0435a75244 Enable coveralls. 2016-05-14 23:43:38 +08:00
kennytm 5e3a7ecc74 Remove star requirement. 2016-03-05 17:46:19 +08:00
kennytm a295116ae9 Don't include the scripts and dot-file in the crate package. 2015-07-05 03:54:00 +08:00
kennytm 66564f3aea Update documentation link. 2015-07-05 03:49:30 +08:00
kennytm 19f89f7281 Merge branch 'stable'
Fixes #2.
2015-07-05 03:45:17 +08:00
kennytm 38cfbc386f Enable benchmarking only with a feature. >:-( 2015-07-05 03:40:04 +08:00
kennytm 279960886e Move docs to GitHub pages.
Ref https://github.com/kmcallister/travis-doc-upload/blob/master/README.md
2015-07-05 03:29:28 +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 96e7894f9f Update version 2015-01-10 22:36:39 +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 80d8c266bb Bump version to update metadata. 2015-01-01 22:56:05 +08:00
kennytm 3f56f7a765 Link to doc. 2015-01-01 22:13:40 +08:00
kennytm 91fdbeac11 Retry doc upload; Kill some deprecated functions. 2015-01-01 22:08:33 +08:00
kennytm 6756dc10e9 Retry documentation upload. 2015-01-01 21:49:23 +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
kennytm bd98d576c4 moar metadata 2014-11-29 06:00:46 +08:00
kennytm ac5f0abaa2 Legal boilerplates. 2014-11-29 05:57:11 +08:00
kennytm 565773dd3d Update metadata. 2014-11-29 05:52:55 +08:00
kennytm a4ae80b1b7 rustup. Quantify all enums, and renamed (shortened) a few types. 2014-11-29 05:29:01 +08:00
kennytm 74bdb39149 rustup... 2014-11-17 00:45:35 +08:00
kennytm acddb36406 rustup.
* Vec::reserve_additional -> Vec::reserve
* x[] -> &*x (as the former syntax is going away)
* XDeref -> Deref (as &T:Deref<T> is implemented)
* CloneableVector is gone? Move trait methods back into impl for now.
2014-11-11 08:36:43 +08:00
kennytm beace646d0 rustup. (Collection trait is gone.) 2014-11-05 02:05:23 +08:00
kennytm b3b742b3ab Rustup (fail! -> panic!). 2014-11-01 02:08:30 +08:00
kennytm c008e97c8f Change all const back to static (Fixes #1.)
`const` are only for inline constants (similar to `#define`), not tables.
2014-10-24 16:48:25 +08:00
kennytm 4d2032e595 rustup.
Restructure Canvas::draw_data(), since change in rust-lang/rust#17403 no
longer allows returning a mutable ref directly.
2014-10-24 01:01:34 +08:00
kennytm e6b80daf11 rustup. 2014-10-13 00:59:49 +08:00
kennytm 59f28f0dd3 static -> const; change remaining of x.as_slice() to x[]. 2014-10-07 00:27:10 +08:00
kennytm 87f04e57c3 rustup. 2014-10-05 02:32:26 +08:00
kennytm bca618fe12 Rustup.
* Use ... instead of .. when matching a range, in preparation for
  rust-lang/rust#17584 (may not be complete).
* Use the new slicing syntax (a[], a[x..y]) if possible. (Currently
  String::as_slice() is blocked by rust-lang/rust#17502.)
* Change deprecated String::push_char() to String::push().
2014-09-28 00:59:20 +08:00
kennytm fa40eec147 rustup. 2014-09-24 16:02:46 +08:00
kennytm b7214af165 Rename the enum type Version to QrVersion.
Recent changes made enum names live in the type namespace as well. So we
need to rename to avoid name conflict.
2014-09-22 18:45:44 +08:00