Skip to content

Commit c3a2cf2

Browse files
committed
fix doctests by importing own crate as dependency
- unfortunately currently, we can not import the local crate but need to use the one currently present in the git repository. - See rust-lang/cargo#9518
1 parent 67bc845 commit c3a2cf2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ web-time = { version = "1.1" }
2727

2828
[dev-dependencies]
2929
tokio = { version = "1.43", features = ["macros"]}
30+
crates_io_api = { package = "crates_io_api-wasm-patch", git = "https://github.com/jonaspleyer/crates-io-api"}
3031

3132
[features]
3233
default = ["reqwest/default-tls"]

0 commit comments

Comments
 (0)