Commit Graph

18 Commits (2cfcd5e8595bfcc7d9573e6107d826ae2d368d95)

Author SHA1 Message Date
Project Nayuki c36c4a28eb Updated Java, C++, Python, Rust worker programs to catch the new exception; removed error message string comparisons.
6 years ago
Project Nayuki 4e774437b3 Simplified some Rust code.
6 years ago
Project Nayuki 0cded0ba36 Aligned main comments in demo programs.
6 years ago
Project Nayuki c0b684bc18 Tweaked comment for kanji demo in multiple languages, so that it corresponds to the order in the sample text string.
7 years ago
Project Nayuki 9628e25971 Updated Rust code to wrap valid mask numbers in a simple struct, removed unnecessary argument assertions.
7 years ago
Project Nayuki a88f0942af Updated Rust code to wrap valid version numbers in a simple struct, removed unnecessary argument assertions.
7 years ago
Project Nayuki 27aad80052 Updated Rust code to use wrapper struct for BitBuffer, to avoid repeatedly writing mutable borrows.
7 years ago
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.
7 years ago
Project Nayuki 6f5eccf2fc Tweaked some Rust code for clarity, without changing behavior.
7 years ago
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.
7 years ago
Project Nayuki 6a71e09f72 Added/tweaked comments and blank lines in demo programs of all language versions except JavaScript.
7 years ago
Project Nayuki b86466ecd5 - Deleted constructors/functions/code for remasking existing QrCode object (due to doubtful real-world usefulness): C++, Java, JavaScript, Python, Rust.
7 years ago
Project Nayuki 8ef73d2325 Changed Rust API to take Option<u8> instead of i8 for automatic masking, updated related code and assertions.
7 years ago
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.
7 years ago
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.
7 years ago
Project Nayuki 03b502946d Added Rust port of runnable worker program for batch testing.
7 years ago
Project Nayuki 82156abb10 Changed Rust library's API to return Option<QrCode> instead of QrCode, updated demo program to fit.
7 years ago
Project Nayuki d4f71e49d7 Added a working demo example program in Rust.
7 years ago