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.
23 lines
426 B
TOML
23 lines
426 B
TOML
[package]
|
|
name = "rsbridge"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
rust-version.workspace = true
|
|
description = "Anki's Rust library code Python bindings"
|
|
|
|
[lib]
|
|
name = "rsbridge"
|
|
crate-type = ["cdylib"]
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
anki.workspace = true
|
|
pyo3.workspace = true
|
|
|
|
[features]
|
|
rustls = ["anki/rustls"]
|
|
native-tls = ["anki/native-tls"]
|