mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-27 02:04:39 +10:00
fix: semaphore reference
This commit is contained in:
Generated
+1
-1
@@ -219,7 +219,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "droplet-rs"
|
name = "droplet-rs"
|
||||||
version = "0.15.0"
|
version = "0.15.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Drop-OSS"]
|
authors = ["Drop-OSS"]
|
||||||
name = "droplet-rs"
|
name = "droplet-rs"
|
||||||
version = "0.15.0"
|
version = "0.15.1"
|
||||||
license = "AGPL-3.0-only"
|
license = "AGPL-3.0-only"
|
||||||
description = "Droplet is a `napi.rs` Rust/Node.js package full of high-performance and low-level utils for Drop"
|
description = "Droplet is a `napi.rs` Rust/Node.js package full of high-performance and low-level utils for Drop"
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ pub async fn main() {
|
|||||||
|message| {
|
|message| {
|
||||||
println!("{}", message);
|
println!("{}", message);
|
||||||
},
|
},
|
||||||
&None,
|
None,
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ pub async fn generate_manifest_rusty<T: Fn(String), V: Fn(f32)>(
|
|||||||
dir: &Path,
|
dir: &Path,
|
||||||
progress_sfn: V,
|
progress_sfn: V,
|
||||||
log_sfn: T,
|
log_sfn: T,
|
||||||
reader_semaphore: &Option<Semaphore>,
|
reader_semaphore: Option<&Semaphore>,
|
||||||
) -> anyhow::Result<Manifest> {
|
) -> anyhow::Result<Manifest> {
|
||||||
let mut backend =
|
let mut backend =
|
||||||
create_backend_constructor(dir).ok_or(anyhow!("Could not create backend for path."))?()?;
|
create_backend_constructor(dir).ok_or(anyhow!("Could not create backend for path."))?()?;
|
||||||
|
|||||||
Reference in New Issue
Block a user