40e1520acb
Workspace deps were introduced in Rust 1.64. They don't cover all the
cases that Hakari did unfortunately, but they are simpler to maintain,
and they avoid a couple of issues that Hakari had:
- It sometimes made updating dependencies harder due to the locked versions,
so you had to disable Hakari, do the updates, and then re-generate (
e.g. 943dddf28f
)
- The current Hakari config was breaking AnkiDroid's build, as it was
stopping a cross-compile from functioning correctly.
24 lines
532 B
TOML
24 lines
532 B
TOML
[package]
|
|
name = "linkchecker"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
rust-version.workspace = true
|
|
|
|
[dependencies]
|
|
anki.workspace = true
|
|
futures.workspace = true
|
|
itertools.workspace = true
|
|
lazy_static.workspace = true
|
|
linkcheck.workspace = true
|
|
regex.workspace = true
|
|
reqwest.workspace = true
|
|
strum.workspace = true
|
|
tokio.workspace = true
|
|
|
|
[features]
|
|
rustls = ["reqwest/rustls-tls", "reqwest/rustls-tls-native-roots"]
|
|
native-tls = ["reqwest/native-tls"]
|