Skip to content

Commit

Permalink
feat: Make k8 feature available in fluvio-run (#3446)
Browse files Browse the repository at this point in the history
similar approach to #3444
  • Loading branch information
morenol committed Aug 4, 2023
1 parent 7d0a0f6 commit b4ef2fb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions crates/fluvio-run/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ path = "src/bin/main.rs"
doc = false

[features]
default = []
default = ["k8"]
k8 = [ "fluvio-sc/k8"]

[dependencies]
clap = { workspace = true, features = ["std", "derive", "help", "usage", "error-context"]}
Expand All @@ -30,11 +31,7 @@ tracing-subscriber = { workspace = true }

# regardless of TLS, sc and spu always use openssl_tls for now because we need cert API
fluvio-future = { workspace = true, features = ["subscriber"] }
fluvio-sc = { path = "../fluvio-sc", default-features = false }
fluvio-spu = { path = "../fluvio-spu" }
fluvio-extension-common = { workspace = true }

[target.'cfg(not(target_arch = "armv7"))'.dependencies]
fluvio-sc = { path = "../fluvio-sc", features = ["k8"] }

[target.'cfg(target_arch = "armv7")'.dependencies]
fluvio-sc = { path = "../fluvio-sc", default-features = false }

0 comments on commit b4ef2fb

Please sign in to comment.