diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-08 07:31:40 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-08-08 07:31:40 +0200 |
commit | 3bf2348b1adefccc38ca8b69520c41541ed01aaf (patch) | |
tree | c974329c0a5a49988b035136a2916e377284bc1e /lib/warden-core/Cargo.toml | |
parent | 9c89deec37def31a3042ba0e5918abef56a2a7d0 (diff) | |
download | warden-3bf2348b1adefccc38ca8b69520c41541ed01aaf.tar.bz2 warden-3bf2348b1adefccc38ca8b69520c41541ed01aaf.zip |
build(proto): tonic-prost build script
Diffstat (limited to 'lib/warden-core/Cargo.toml')
-rw-r--r-- | lib/warden-core/Cargo.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/warden-core/Cargo.toml b/lib/warden-core/Cargo.toml index f10b5ea..efb61a3 100644 --- a/lib/warden-core/Cargo.toml +++ b/lib/warden-core/Cargo.toml @@ -7,4 +7,17 @@ homepage.workspace = true documentation.workspace = true description.workspace = true +[package.metadata.docs.rs] +all-features = true +rustdoc-args = ["--cfg", "docsrs"] + [dependencies] +prost = { workspace = true, optional = true } +tonic = { workspace = true, optional = true } +tonic-types = { version = "0.14.0", optional = true } + +[features] +default = ["dep:prost", "dep:tonic", "dep:tonic-types"] + +[build-dependencies] +tonic-prost-build = { version = "0.14.0", features = ["cleanup-markdown"] } |