From 90e3a349db806692301ec4fd4a89bf226588e12c Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 20 Feb 2024 09:36:29 +0100 Subject: [PATCH] fix: remove outdated rustdoc about tokio channels (#1961) This seems to be a relic of when napi-rs used channels to send data to the tokio runtime. This removes the outdated doc, as this could be misleading if one wants to understand what those channels are about. --- crates/napi/src/lib.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/crates/napi/src/lib.rs b/crates/napi/src/lib.rs index c1ea8be8..67fb2e7e 100644 --- a/crates/napi/src/lib.rs +++ b/crates/napi/src/lib.rs @@ -34,14 +34,6 @@ //! } //! ``` //! -//! ***Tokio channel in `napi-rs` buffer size is default `100`.*** -//! -//! ***You can adjust it via `NAPI_RS_TOKIO_CHANNEL_BUFFER_SIZE` environment variable*** -//! -//! ``` -//! NAPI_RS_TOKIO_CHANNEL_BUFFER_SIZE=1000 node ./app.js -//! ``` -//! //! ### latin1 //! //! Decode latin1 string from JavaScript using [encoding_rs](https://docs.rs/encoding_rs).