[package]
edition = "2024"
rust-version = "1.85"
name = "basil-proto"
version = "0.7.1"
authors = ["info@openbasil.org"]
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generated gRPC contracts for the Basil broker and SPIFFE Workload API."
homepage = "https://github.com/openbasil/basil"
documentation = "https://docs.rs/basil-proto"
readme = "README.md"
keywords = [
"basil",
"grpc",
"protobuf",
"spiffe",
"tonic",
]
categories = [
"network-programming",
"api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/openbasil/basil"
[lib]
name = "basil_proto"
path = "src/lib.rs"
[[test]]
name = "cose_es256_fixtures"
path = "tests/cose_es256_fixtures.rs"
[[test]]
name = "cose_fixtures"
path = "tests/cose_fixtures.rs"
[dependencies.prost]
version = "0.14.4"
[dependencies.prost-types]
version = "0.14.4"
[dependencies.serde]
version = "1"
features = [
"alloc",
"derive",
"std",
]
default-features = false
[dependencies.serde_bytes]
version = "0.11"
[dependencies.tonic]
version = "0.14.6"
[dependencies.tonic-prost]
version = "0.14.6"
[dependencies.zeroize]
version = "1"
features = [
"derive",
"alloc",
]
default-features = false
[dev-dependencies.basil-cose]
version = "0.7.1"
features = ["fixtures"]
[dev-dependencies.p256]
version = "0.13"
features = ["ecdsa"]
default-features = false
[dev-dependencies.serde_json]
version = "1"
features = [
"alloc",
"arbitrary_precision",
"std",
]
default-features = false
[build-dependencies.tonic-prost-build]
version = "0.14.6"
[lints.clippy.expect_used]
level = "deny"
priority = 0
[lints.clippy.get_unwrap]
level = "deny"
priority = 0
[lints.clippy.indexing_slicing]
level = "deny"
priority = 0
[lints.clippy.missing_errors_doc]
level = "allow"
priority = 0
[lints.clippy.nursery]
level = "deny"
priority = -1
[lints.clippy.panic]
level = "deny"
priority = 0
[lints.clippy.panic_in_result_fn]
level = "deny"
priority = 0
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.todo]
level = "deny"
priority = 0
[lints.clippy.unimplemented]
level = "deny"
priority = 0
[lints.clippy.unreachable]
level = "deny"
priority = 0
[lints.clippy.unwrap_used]
level = "deny"
priority = 0
[lints.rust.unsafe_code]
level = "forbid"
priority = 1