diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-14 17:18:44 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-14 17:23:13 +0900 |
| commit | ae113f91fefff415898781272b892d670fcb46f4 (patch) | |
| tree | 5d433f1902c0834973b6e5816d10629ca4a5b675 /Cargo.lock | |
| parent | e71e24b5b5cacb93aab3a62e809414fbe9c8a438 (diff) | |
| download | php-shirabe-ae113f91fefff415898781272b892d670fcb46f4.tar.gz php-shirabe-ae113f91fefff415898781272b892d670fcb46f4.tar.zst php-shirabe-ae113f91fefff415898781272b892d670fcb46f4.zip | |
feat(php-shim): implement random_int/random_bytes with fastrand
PHP's random_int/random_bytes are cryptographically secure, but Composer
does not rely on that property, so a non-cryptographic PRNG suffices.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -305,6 +305,12 @@ dependencies = [ ] [[package]] +name = "fastrand" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6" + +[[package]] name = "find-msvc-tools" version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1013,6 +1019,7 @@ version = "0.0.1" dependencies = [ "anyhow", "chrono", + "fastrand", "indexmap", "regex", "serde", |
