mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-13 04:29:00 +08:00
updating cargo pckg name n version
This commit is contained in:
parent
697501cc8a
commit
81066cf90a
4
apps/rust-sdk/Cargo.lock
generated
4
apps/rust-sdk/Cargo.lock
generated
@ -275,8 +275,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
|
checksum = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "firecrawl_rs"
|
name = "firecrawl"
|
||||||
version = "0.1.1"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_matches",
|
"assert_matches",
|
||||||
"clippy",
|
"clippy",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "firecrawl_rs"
|
name = "firecrawl"
|
||||||
author="Mendable.ai"
|
author="Mendable.ai"
|
||||||
version = "0.1.1"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "GPL-2.0-or-later"
|
license = "GPL-2.0-or-later"
|
||||||
homepage = "https://www.firecrawl.dev/"
|
homepage = "https://www.firecrawl.dev/"
|
||||||
@ -11,7 +11,7 @@ authors = ["sanix-darker <sanixdk@gmail.com>"]
|
|||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
path = "src/lib.rs"
|
path = "src/lib.rs"
|
||||||
name = "firecrawl_rs"
|
name = "firecrawl"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -8,7 +8,7 @@ To install the Firecrawl Rust SDK, add the following to your `Cargo.toml`:
|
|||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
firecrawl_rs = "^0.1"
|
firecrawl = "^0.1"
|
||||||
tokio = { version = "^1", features = ["full"] }
|
tokio = { version = "^1", features = ["full"] }
|
||||||
serde = { version = "^1.0", features = ["derive"] }
|
serde = { version = "^1.0", features = ["derive"] }
|
||||||
serde_json = "^1.0"
|
serde_json = "^1.0"
|
||||||
@ -28,7 +28,7 @@ To add it in your codebase.
|
|||||||
Here's an example of how to use the SDK in [example.rs](./examples/example.rs):
|
Here's an example of how to use the SDK in [example.rs](./examples/example.rs):
|
||||||
All below example can start with :
|
All below example can start with :
|
||||||
```rust
|
```rust
|
||||||
use firecrawl_rs::FirecrawlApp;
|
use firecrawl::FirecrawlApp;
|
||||||
|
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use firecrawl_rs::FirecrawlApp;
|
use firecrawl::FirecrawlApp;
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
use assert_matches::assert_matches;
|
use assert_matches::assert_matches;
|
||||||
use dotenv::dotenv;
|
use dotenv::dotenv;
|
||||||
use firecrawl_rs::FirecrawlApp;
|
use firecrawl::FirecrawlApp;
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user