Skip to content

Commit

Permalink
Merge pull request #4 from campbellcole/master
Browse files Browse the repository at this point in the history
Add rustls feature without breaking default features
  • Loading branch information
pepperoni21 authored Dec 3, 2023
2 parents fcb2364 + 8fadd20 commit 7cf1a0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
reqwest = { version = "0.11.22" }
reqwest = { version = "0.11.22", default-features = false }
serde = { version = "1.0.190", features = ["derive"] }
serde_json = "1.0.108"
tokio = { version = "1", features = ["full"], optional = true }
tokio-stream = { version = "0.1.14", optional = true }

[features]
default = ["reqwest/default-tls"]
stream = ["tokio-stream", "reqwest/stream", "tokio"]
rustls = ["reqwest/rustls-tls"]

[dev-dependencies]
tokio = { version = "1", features = ["full"] }
ollama-rs = { path = ".", features = ["stream"] }
ollama-rs = { path = ".", features = ["stream"] }

0 comments on commit 7cf1a0d

Please sign in to comment.