1b8636bd7d
Add a `bug` field on the flag_declaration and parsed_flag proto messages. This field is optional in the sense that it can occur zero or more times, and aconfig will simply pass any value through. Bug fields are included in the aconfig dump format, which can be processed by other tools. Also unify how protos.rs checks that fields marked 'optional' in the proto file, but in practice are 'required', are actually set. Test: atest aconfig.test aconfig.test.java Bug: 288261336 Change-Id: I93de0005674822c6ff4d699bdc2c6509763a7f7f
24 lines
436 B
TOML
24 lines
436 B
TOML
[package]
|
|
name = "aconfig"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
default = ["cargo"]
|
|
cargo = []
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.69"
|
|
clap = { version = "4.1.8", features = ["derive"] }
|
|
paste = "1.0.11"
|
|
protobuf = "3.2.0"
|
|
serde = { version = "1.0.152", features = ["derive"] }
|
|
serde_json = "1.0.93"
|
|
tinytemplate = "1.2.1"
|
|
|
|
[build-dependencies]
|
|
protobuf-codegen = "3.2.0"
|
|
|
|
[dev-dependencies]
|
|
itertools = "0.10.5"
|