aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.toml
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-14 17:18:44 +0900
committernsfisis <nsfisis@gmail.com>2026-06-14 17:23:13 +0900
commitae113f91fefff415898781272b892d670fcb46f4 (patch)
tree5d433f1902c0834973b6e5816d10629ca4a5b675 /Cargo.toml
parente71e24b5b5cacb93aab3a62e809414fbe9c8a438 (diff)
downloadphp-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.toml')
-rw-r--r--Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 8747cba..0292112 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,6 +16,7 @@ anyhow = "1.0.102"
async-trait = "0.1.89"
base64 = "0.22.1"
chrono = { version = "0.4.44", features = ["serde"] }
+fastrand = "2.4.1"
indexmap = { version = "2.14.0", features = ["serde"] }
md5 = "0.7.0"
regex = "1.12.3"