From dc6caf7d8e20d3670cce526fabf943aea306fe58 Mon Sep 17 00:00:00 2001 From: Levi Zim Date: Sat, 27 May 2023 17:38:41 +0800 Subject: [PATCH] docs(README): update platform support status (#1607) Document riscv64 linux support status. BTW add the missing node20 column. --- crates/napi/README.md | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/crates/napi/README.md b/crates/napi/README.md index fada604e..e60945c8 100644 --- a/crates/napi/README.md +++ b/crates/napi/README.md @@ -22,6 +22,7 @@ A framework for building compiled `Node.js` add-ons in `Rust` via Node-API. Webs ![macOS/Windows/Linux x64](https://github.com/napi-rs/napi-rs/workflows/macOS/Windows/Linux%20x64/badge.svg) ![Linux-aarch64](https://github.com/napi-rs/napi-rs/workflows/Linux-aarch64/badge.svg) ![Linux-armv7](https://github.com/napi-rs/napi-rs/workflows/Linux-armv7/badge.svg) +![Linux-riscv64](https://github.com/napi-rs/napi-rs/actions/workflows/linux-riscv64.yaml/badge.svg) ![macOS-Android](https://github.com/napi-rs/napi-rs/workflows/macOS-Android/badge.svg) [![Android-armv7](https://github.com/napi-rs/napi-rs/actions/workflows/android-armv7.yml/badge.svg)](https://github.com/napi-rs/napi-rs/actions/workflows/android-armv7.yml) ![Windows i686](https://github.com/napi-rs/napi-rs/workflows/Windows%20i686/badge.svg) @@ -32,21 +33,22 @@ A framework for building compiled `Node.js` add-ons in `Rust` via Node-API. Webs **Rust** `1.57.0` -| | node12 | node14 | node16 | node18 | -| --------------------- | ------ | ------ | ------ | ------ | -| Windows x64 | ✓ | ✓ | ✓ | ✓ | -| Windows x86 | ✓ | ✓ | ✓ | ✓ | -| Windows arm64 | ✓ | ✓ | ✓ | ✓ | -| macOS x64 | ✓ | ✓ | ✓ | ✓ | -| macOS aarch64 | ✓ | ✓ | ✓ | ✓ | -| Linux x64 gnu | ✓ | ✓ | ✓ | ✓ | -| Linux x64 musl | ✓ | ✓ | ✓ | ✓ | -| Linux aarch64 gnu | ✓ | ✓ | ✓ | ✓ | -| Linux aarch64 musl | ✓ | ✓ | ✓ | ✓ | -| Linux arm gnueabihf | ✓ | ✓ | ✓ | ✓ | -| Linux aarch64 android | ✓ | ✓ | ✓ | ✓ | -| Linux armv7 android | ✓ | ✓ | ✓ | ✓ | -| FreeBSD x64 | ✓ | ✓ | ✓ | ✓ | +| | node12 | node14 | node16 | node18 | node20 | +| --------------------- | ------ | ------ | ------ | ------ | ------ | +| Windows x64 | ✓ | ✓ | ✓ | ✓ | ✓ | +| Windows x86 | ✓ | ✓ | ✓ | ✓ | ✓ | +| Windows arm64 | ✓ | ✓ | ✓ | ✓ | ✓ | +| macOS x64 | ✓ | ✓ | ✓ | ✓ | ✓ | +| macOS aarch64 | ✓ | ✓ | ✓ | ✓ | ✓ | +| Linux x64 gnu | ✓ | ✓ | ✓ | ✓ | ✓ | +| Linux x64 musl | ✓ | ✓ | ✓ | ✓ | ✓ | +| Linux aarch64 gnu | ✓ | ✓ | ✓ | ✓ | ✓ | +| Linux aarch64 musl | ✓ | ✓ | ✓ | ✓ | ✓ | +| Linux arm gnueabihf | ✓ | ✓ | ✓ | ✓ | ✓ | +| Linux riscv64 gnu | N/A | N/A | ✓ | ✓ | ✓ | +| Linux aarch64 android | ✓ | ✓ | ✓ | ✓ | ✓ | +| Linux armv7 android | ✓ | ✓ | ✓ | ✓ | ✓ | +| FreeBSD x64 | ✓ | ✓ | ✓ | ✓ | ✓ | This library depends on Node-API and requires `Node@10.0.0` or later.