mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-10 15:19:02 +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"
|
||||
|
||||
[[package]]
|
||||
name = "firecrawl_rs"
|
||||
version = "0.1.1"
|
||||
name = "firecrawl"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"assert_matches",
|
||||
"clippy",
|
||||
|
@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "firecrawl_rs"
|
||||
name = "firecrawl"
|
||||
author="Mendable.ai"
|
||||
version = "0.1.1"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
license = "GPL-2.0-or-later"
|
||||
homepage = "https://www.firecrawl.dev/"
|
||||
@ -11,7 +11,7 @@ authors = ["sanix-darker <sanixdk@gmail.com>"]
|
||||
|
||||
[lib]
|
||||
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
|
||||
[dependencies]
|
||||
|
@ -8,7 +8,7 @@ To install the Firecrawl Rust SDK, add the following to your `Cargo.toml`:
|
||||
|
||||
```toml
|
||||
[dependencies]
|
||||
firecrawl_rs = "^0.1"
|
||||
firecrawl = "^0.1"
|
||||
tokio = { version = "^1", features = ["full"] }
|
||||
serde = { version = "^1.0", features = ["derive"] }
|
||||
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):
|
||||
All below example can start with :
|
||||
```rust
|
||||
use firecrawl_rs::FirecrawlApp;
|
||||
use firecrawl::FirecrawlApp;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
|
@ -1,4 +1,4 @@
|
||||
use firecrawl_rs::FirecrawlApp;
|
||||
use firecrawl::FirecrawlApp;
|
||||
use serde_json::json;
|
||||
use uuid::Uuid;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
use assert_matches::assert_matches;
|
||||
use dotenv::dotenv;
|
||||
use firecrawl_rs::FirecrawlApp;
|
||||
use firecrawl::FirecrawlApp;
|
||||
use serde_json::json;
|
||||
use std::env;
|
||||
use std::time::Duration;
|
||||
|
Loading…
x
Reference in New Issue
Block a user