Commit Graph

4 Commits

Author SHA1 Message Date
Quang
0113e301e8 mcookie - fix providing /dev/random or /dev/urandom as file leads to infinite loop (#274)
* Update mcookie.rs

* edit doc

* fmt

* fix for unix and non-unix build

* add test case

* refactor

* fmt

* fix
2025-03-31 09:54:28 +02:00
Quang
36b3af044c mcookie: add support for human-readable sizes with -m option (#268)
* Create size.rs

* parse max size from human-readable strings

* tests for human-readable strings

* fmt

* fix failed tests and edge cases

* fix fmt

* cpr & license

* use usimpleerror

* fmt
2025-03-31 09:26:49 +02:00
Daniel Hofstetter
ee4408ea10 mcookie: fix "unused import" warning in test 2025-03-21 14:20:52 +01:00
alxndrv
f91b55d0ae Add tests for mcookie 2025-03-18 20:17:55 +02:00