Skip to content

Commit a490bd0

Browse files
committed
[CHORE] deps: use only needed tokio features instead of full
1 parent 461dbdb commit a490bd0

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Add to your `Cargo.toml`:
1919
```toml
2020
[dependencies]
2121
seedframe = "0.1"
22-
tokio = { version = "1.42", features = ["full"] }
22+
tokio = "1.44"
2323
async-trait = "0.1"
2424
# If you'll be using Extractors or custom types as tool-call arguments
2525
schemars = "0.8.22"

core/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pdf-extract = {version="0.8", optional = true }
1414
reqwest = { version = "0.12", default-features=false, features = ["json", "rustls-tls"] }
1515
serde = { version = "1.0", features = ["derive"] }
1616
serde_json = "1.0"
17-
tokio = { version = "1.42", features = ["full"] }
17+
tokio = { version = "1.44", features = ["rt-multi-thread", "time", "macros"]}
1818
uuid = {version="1.11", features = ["v4"]}
1919
walkdir = "2.5"
2020
seedframe_macros = { version="0.1", path = "../proc_macros"}
@@ -25,6 +25,7 @@ thiserror = "2.0"
2525
dashmap = "6.1"
2626

2727
[dev-dependencies]
28+
tokio = { version = "1.44", features = ["fs"]}
2829
tempfile = "3.16"
2930
tracing-subscriber = "0.3"
3031

integrations/completion_providers/seedframe_anthropic/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ struct ModelConfig {
4141
/// # Examples
4242
///
4343
/// Usage with the `client` macro:
44-
/// ```rust,no_run
44+
/// ```rust,ignore
4545
/// use seedframe_anthropic::AnthropicCompletionModel;
4646
///
4747
/// #[client(

integrations/embedding_providers/seedframe_voyageai/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ async-trait = "0.1"
1212
reqwest = "0.12"
1313
serde = { version = "1.0", features = ["derive"] }
1414
serde_json = "1.0"
15-
tokio = { version = "1.42", features = ["full"] }
15+
16+
[dev-dependencies]
17+
tokio = "1.44"

integrations/embedding_providers/seedframe_voyageai/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct ModelConfig {
3232
/// # Examples
3333
///
3434
/// Usage with the `client` macro:
35-
/// ```rust,no_run
35+
/// ```rust,ignore
3636
/// use seedframe_voyageai::VoyageAIEmbedding;
3737
///
3838
/// #[embedder(

integrations/seedframe_webscraper/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ async-trait = "0.1"
1212
reqwest = "0.12"
1313
serde = { version = "1.0", features = ["derive"] }
1414
serde_json = "1.0"
15-
tokio = { version = "1.44", features = ["full", "test-util"] }
15+
tokio = "1.44"
1616
chrono = { version = "0.4", features = ["serde"] }
1717
scraper = "0.23"
1818

integrations/vector_stores/seedframe_pinecone/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ pinecone-sdk = "0.1"
1212
async-trait = "0.1"
1313
serde = { version = "1.0", features = ["derive"] }
1414
serde_json = "1.0"
15-
tokio = { version = "1.44", features = ["full", "test-util"] }
15+
tokio = "1.44"

0 commit comments

Comments
 (0)