d380f3034c
Will be handy to use it in our other scripts in the future too - thanks Rumo! Results of benchmarking ./run before and after these crate splits: - Touching a proto file leads to a slight increase: about +90ms - Touching an rslib file leads to a bigger decrease, as there's less to recompile: about -700ms And ./ninja test is even better: about +200ms and -3800ms.
26 lines
585 B
TOML
26 lines
585 B
TOML
[package]
|
|
name = "anki_proto"
|
|
publish = false
|
|
description = "Anki's Rust library protobuf code"
|
|
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[build-dependencies]
|
|
anki_io = { version = "0.0.0", path = "../io" }
|
|
anyhow = "1.0.71"
|
|
inflections = "1.1.1"
|
|
prost-build = "0.11.9"
|
|
prost-reflect = "0.11.4"
|
|
prost-types = "0.11.9"
|
|
|
|
[dependencies]
|
|
num_enum = "0.6.1"
|
|
prost = "0.11.9"
|
|
serde = { version = "1.0.164", features = ["derive"] }
|
|
snafu = "0.7.4"
|
|
strum = { version = "0.24.1", features = ["derive"] }
|