aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
Commit message (Collapse)AuthorAgeFilesLines
* run: ask for alternatives as wellMiquel Sabaté Solà2026-01-191-0/+59
| | | | | | | | This commit also fixes the need to ask for a random gender when asking for adjectives. This is somewhat unrelated to the main subject, but untying this now was a bit too much of a hassle. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Migrate from usize to isize for integers in modelsMiquel Sabaté Solà2026-01-141-40/+142
| | | | | | | | | | | | | | | | | | | | | | SQLite3, like many other DBs (e.g. PostgreSQL), assumes by default an i64::MAX value. Hence, while in the application we are talking mainly in unsigned terms (which is what makes sense here), this is not realistic to what ends up happening on the DB side. Up until now this just worked behind the scenes because rustqlite did the heavy lifting via default trait implementations of usize which handled this translation for us. This default implementation for usize was dropped in 0.38.0 (see [1]). Even if it can be enabled back via the "fallible_uint" feature, it's more fair to stick to isize, as it's not much of a problem on our side, and it's more transparent in regards to what happens in the end in the DB. Last but not least, this commit also upgrades rustqlite to the latest 0.38.0, with the rest of the dependency tree. [1] https://github.com/rusqlite/rusqlite/issues/1722) Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Update dependenciesMiquel Sabaté Solà2025-10-271-226/+103
| | | | | | | | | As pointed out by dependabot, some of the dependencies I was using were old and subject to potential vulnerabilities. Not that there was any security risk since this application is still work-in-progress, but it's anyways fine to just update everything. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
* Add exercises to the practice commandMiquel Sabaté Solà2025-07-291-0/+1
| | | | | | | | The '-e/--exercises' has also been introduced to instruct the 'practice' command to only go for exercises, and the '-k/--kind' flag allows the user to further filter which kind of exercise to practice. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Update dependenciesMiquel Sabaté Solà2025-07-251-39/+135
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Implement creation of wordsMiquel Sabaté Solà2025-07-251-1/+73
| | | | Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Implement the run commandMiquel Sabaté Solà2025-06-121-0/+87
| | | | | | | | This does not accept yet some flags that might be convenient for more advanced uses of it, nor it asks to inflect the word or stuff like that. For now it's as simple as "give me the meaning of...". Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
* Initial commitMiquel Sabaté Solà2025-06-031-0/+505
Basic commands have been added, but most of the features for this project are still work in progress. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>