build: add dev-dependencies for doctest

Most tests will still fail due to the API key but this will make checking of the code formatting, etc. easier.
This commit is contained in:
Radical 2025-05-24 03:34:03 +02:00
parent d66a3d0850
commit 6832215aaa
2 changed files with 14 additions and 0 deletions

12
Cargo.lock generated
View file

@ -1075,9 +1075,21 @@ dependencies = [
"mio",
"pin-project-lite",
"socket2",
"tokio-macros",
"windows-sys 0.52.0",
]
[[package]]
name = "tokio-macros"
version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "tokio-native-tls"
version = "0.3.1"

View file

@ -14,6 +14,8 @@ keywords = [
"tokio",
]
[dev-dependencies]
tokio = { version = "1.45.0", features = ["fs", "rt", "rt-multi-thread", "macros"] }
[dependencies]
bytes = "1.10.1"