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.
35 lines
757 B
TOML
35 lines
757 B
TOML
[package]
|
|
name = "anki_i18n"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
build = "build/main.rs"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
rust-version.workspace = true
|
|
description = "Anki's Rust library i18n code"
|
|
|
|
[lib]
|
|
name = "anki_i18n"
|
|
path = "src/lib.rs"
|
|
|
|
[build-dependencies]
|
|
fluent-syntax.workspace = true
|
|
fluent.workspace = true
|
|
unic-langid.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
inflections.workspace = true
|
|
anki_io.workspace = true
|
|
anyhow.workspace = true
|
|
|
|
[dependencies]
|
|
fluent.workspace = true
|
|
fluent-bundle.workspace = true
|
|
intl-memoizer.workspace = true
|
|
num-format.workspace = true
|
|
phf.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
unic-langid.workspace = true
|