Skip to content

Commit

Permalink
Make use of protobuf-src optional in VegaFusion server
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Feb 26, 2024
1 parent 491df15 commit 3d2214b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vegafusion-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
description = "VegaFusion Server"

[features]
protobuf-src = [ "vegafusion-core/protobuf-src",]
protobuf-src = [ "vegafusion-core/protobuf-src", "dep:protobuf-src"]

[dependencies]
futures-util = "0.3.21"
Expand All @@ -25,6 +25,7 @@ predicates = "3.0.2"
[build-dependencies]
tonic-build = "0.10.2"
prost-build = "0.12.1"
protobuf-src = { version="1.1.0", optional = true }

[dependencies.prost]
workspace = true
Expand Down Expand Up @@ -61,6 +62,3 @@ features = [ "tls",]
[dependencies.clap]
version = "4.2.1"
features = [ "derive",]

[target."cfg(target_family = \"unix\")".build-dependencies]
protobuf-src = "1.1.0"

0 comments on commit 3d2214b

Please sign in to comment.