From 70088c78e54a4f0acb6635a002857b9b998817c7 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sun, 23 Jun 2024 20:10:21 +0530 Subject: [PATCH] revert: remove bstr dep --- Cargo.lock | 1 + crates/lune-std-process/Cargo.toml | 1 + crates/lune-std-process/src/stream.rs | 1 + 3 files changed, 3 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 7164f721..434f2e60 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1625,6 +1625,7 @@ dependencies = [ name = "lune-std-process" version = "0.1.1" dependencies = [ + "bstr", "bytes", "directories", "lune-utils", diff --git a/crates/lune-std-process/Cargo.toml b/crates/lune-std-process/Cargo.toml index abcbb271..5b19e034 100644 --- a/crates/lune-std-process/Cargo.toml +++ b/crates/lune-std-process/Cargo.toml @@ -20,6 +20,7 @@ directories = "5.0" pin-project = "1.0" os_str_bytes = { version = "7.0", features = ["conversions"] } +bstr = "1.9" bytes = "1.6.0" tokio = { version = "1", default-features = false, features = [ diff --git a/crates/lune-std-process/src/stream.rs b/crates/lune-std-process/src/stream.rs index 12619806..830e0556 100644 --- a/crates/lune-std-process/src/stream.rs +++ b/crates/lune-std-process/src/stream.rs @@ -1,3 +1,4 @@ +use bstr::BString; use bytes::BytesMut; use mlua::prelude::*; use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};