[workspace]
resolver = "2"
members = [
    "policy-controller",
    "policy-controller/core",
    "policy-controller/grpc",
    "policy-controller/k8s/api",
    "policy-controller/k8s/index",
    "policy-controller/k8s/status",
    "policy-controller/runtime",
    "policy-test",
]

[profile.release]
lto = "thin"

[workspace.dependencies]
gateway-api = "0.16"
http = "1"
hyper = "1"
k8s-openapi = { version = "0.25", features = ["v1_33"] }
kube = { version = "1.1", default-features = false }
kubert = { version = "0.25", default-features = false }
prometheus-client = { version = "0.23", default-features = false }
tonic = { version = "0.12", default-features = false }
tower = { version = "0.5", default-features = false }

linkerd-policy-controller = { path = "./policy-controller" }
linkerd-policy-controller-core = { path = "./policy-controller/core" }
linkerd-policy-controller-grpc = { path = "./policy-controller/grpc" }
linkerd-policy-controller-k8s-api = { path = "./policy-controller/k8s/api" }
linkerd-policy-test = { path = "./policy-test" }

[workspace.dependencies.hyper-util]
version = "0.1"
default-features = false
features = ["tracing"]

[workspace.dependencies.linkerd-policy-controller-k8s-index]
path = "./policy-controller/k8s/index"

[workspace.dependencies.linkerd-policy-controller-k8s-status]
path = "./policy-controller/k8s/status"

[workspace.dependencies.linkerd-policy-controller-runtime]
path = "./policy-controller/runtime"
default-features = false

[workspace.dependencies.linkerd2-proxy-api]
version = "0.16.0"
features = ["inbound", "outbound"]
