mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 05:52:22 -04:00

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.
26 lines
608 B
TOML
26 lines
608 B
TOML
[package]
|
|
name = "anki_proto"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish = false
|
|
rust-version.workspace = true
|
|
description = "Anki's Rust library protobuf code"
|
|
|
|
[build-dependencies]
|
|
anki_io.workspace = true
|
|
anki_proto_gen.workspace = true
|
|
anyhow.workspace = true
|
|
inflections.workspace = true
|
|
itertools.workspace = true
|
|
prost-build.workspace = true
|
|
prost-reflect.workspace = true
|
|
prost-types.workspace = true
|
|
|
|
[dependencies]
|
|
num_enum.workspace = true
|
|
prost.workspace = true
|
|
serde.workspace = true
|
|
snafu.workspace = true
|
|
strum.workspace = true
|