Commit Graph

13 Commits

Author SHA1 Message Date
Project Nayuki c0b684bc18 Tweaked comment for kanji demo in multiple languages, so that it corresponds to the order in the sample text string. 2018-06-24 03:33:22 +00:00
Project Nayuki 9628e25971 Updated Rust code to wrap valid mask numbers in a simple struct, removed unnecessary argument assertions. 2017-11-15 17:14:40 +00:00
Project Nayuki 27aad80052 Updated Rust code to use wrapper struct for BitBuffer, to avoid repeatedly writing mutable borrows. 2017-11-15 16:46:15 +00:00
Project Nayuki 5a5626edb2 Added integer constants for QR Code min/max version numbers, made use of new constants in library and example applications, in all language versions except C. 2017-10-23 04:42:53 +00:00
Project Nayuki 6f5eccf2fc Tweaked some Rust code for clarity, without changing behavior. 2017-10-23 04:11:50 +00:00
Project Nayuki e0672f5fd5 Simplified some Rust code by moving Vec's type parameter to the function call instead of being in the variable declaration's type. 2017-10-23 04:10:21 +00:00
Project Nayuki 6a71e09f72 Added/tweaked comments and blank lines in demo programs of all language versions except JavaScript. 2017-10-23 03:51:13 +00:00
Project Nayuki b86466ecd5 - Deleted constructors/functions/code for remasking existing QrCode object (due to doubtful real-world usefulness): C++, Java, JavaScript, Python, Rust.
- Tweaked code and comments due to feature removal: JavaScript, Python.
- Updated demo programs to reflect new API usage and add new example: C, C++, Java, Python, Rust.
2017-10-23 03:45:24 +00:00
Project Nayuki 8ef73d2325 Changed Rust API to take Option<u8> instead of i8 for automatic masking, updated related code and assertions. 2017-09-06 16:20:09 +00:00
Project Nayuki 88be30fe12 Changed Rust QrSegmentMode struct into enum, changed fields to methods, made the type copyable, got rid of static lifetimes and references in favor of passing by value, updated a program to work with this altered API. 2017-08-28 05:43:00 +00:00
Project Nayuki b7817ab944 Changed Rust QrCodeEcc struct into enum, changed fields to methods, made the type copyable, got rid of static lifetimes and references in favor of passing by value, updated programs to work with this altered API. 2017-08-28 05:32:53 +00:00
Project Nayuki 82156abb10 Changed Rust library's API to return Option<QrCode> instead of QrCode, updated demo program to fit. 2017-08-28 04:04:12 +00:00
Project Nayuki d4f71e49d7 Added a working demo example program in Rust. 2017-08-28 00:08:44 +00:00