xref: /aosp_15_r20/system/keymint/wire/Cargo.toml (revision 9860b7637a5f185913c70aa0caabe3ecb78441e4)
1# Note that Cargo is not an officially supported build tool (Android's Soong is the official
2# tool).  This Cargo.toml file is included purely for the convenience of KeyMint developers.
3
4[package]
5name = "kmr-wire"
6version = "0.1.0"
7authors = ["David Drysdale <[email protected]>"]
8edition = "2021"
9license = "Apache-2.0"
10
11[features]
12default = ["hal_v2", "hal_v3", "hal_v4"]
13# Include support for types added in v4 of the KeyMint HAL.
14hal_v4 = ["hal_v3", "hal_v2"]
15# Include support for types added in v3 of the KeyMint HAL.
16hal_v3 = ["hal_v2"]
17# Include support for types added in v2 of the KeyMint HAL.
18hal_v2 = []
19
20[dependencies]
21ciborium = { version = "^0.2.2", default-features = false }
22ciborium-io = "^0.2.0"
23coset = "0.3.3"
24enumn = "0.1.4"
25kmr-derive = "*"
26log = "^0.4"
27zeroize = { version = "^1.5.6", features = ["alloc", "zeroize_derive"] }
28
29[dev-dependencies]
30hex = "0.4.3"
31