Commit graph

116 commits

Author SHA1 Message Date
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
kennytm 191796f759 Some standard rust functions are renamed. 2014-09-20 17:19:48 +08:00
kennytm eacaaab721 Change some long method signatures to use where. Adapt lifetime elision.
And removed a huge unused code segment.
2014-09-12 17:18:04 +08:00
kennytm 84f1fed203 Add basic info to README. 2014-08-19 05:27:17 +08:00
kennytm a3bc3ff1c6 Try trigger Travis build 2014-08-19 05:17:22 +08:00
kennytm 5198056f86 Travis CI support. 2014-08-19 05:10:50 +08:00
kennytm 6b4d8aa366 Update doc. Refactor bits API. De-experimentalize everything. 2014-08-19 04:33:29 +08:00
kennytm 072cadec95 The 0.0.1 version which supports encoded to QR code and Micro QR code. 2014-08-19 03:26:49 +08:00
kennytm d4f4624bf5 Initialization 2014-08-19 03:25:40 +08:00