Spaces:
Sleeping
Sleeping
Download apps/api/native/src/utils.rs from s-eto-hub/firecrawl-api: direct link, hf CLI and curl.
- Browser
- Download file 151 Bytes
-
https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/api/native/src/utils.rs
- Command line
-
hf download hf://spaces/s-eto-hub/firecrawl-api/apps/api/native/src/utils.rs
-
curl -L -o utils.rs https://huggingface.co/spaces/s-eto-hub/firecrawl-api/resolve/main/apps/api/native/src/utils.rs
151 Bytes
| use napi::bindgen_prelude::*; | |
| pub fn to_napi_err<E: std::fmt::Display>(error: E) -> Error { | |
| Error::new(Status::GenericFailure, error.to_string()) | |
| } | |