From d2fe97995913402d52cf5fdf4c9a06187fb25446 Mon Sep 17 00:00:00 2001 From: BlackHoleFox Date: Tue, 19 Dec 2023 14:25:58 -0600 Subject: [PATCH] Document platform support policy --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index c43ad42e..0228b2d3 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,14 @@ crate features, WASM support and Custom RNGs see the This crate requires Rust 1.36.0 or later. +## Platform Support + +This crate supports the same operating system or platform versions that the Rust standard library does, unless a +[custom implementation](https://docs.rs/getrandom/latest/getrandom/#custom-implementations) is used instead. + +This means that as Rust drops support for old versions of operating systems (such as old Linux kernel versions, Android API levels, etc) +in stable releases, `getrandom` may create new patch releases (`0.N.x`) that remove support for outdated platform versions. + # License The `getrandom` library is distributed under either of