diff --git a/rust/sglang-grpc/Cargo.toml b/rust/sglang-grpc/Cargo.toml index 9a223d072..37decfb4a 100644 --- a/rust/sglang-grpc/Cargo.toml +++ b/rust/sglang-grpc/Cargo.toml @@ -9,6 +9,8 @@ license.workspace = true # of the main sglang wheel at the given import path. [package.metadata.sglang] python-module = "sglang.srt.grpc._core" +# Always build optimized, even for an editable install. +debug = false [lib] # Unique per-crate artifact name (the shared workspace target/ dir cannot hold diff --git a/rust/sglang-server/Cargo.toml b/rust/sglang-server/Cargo.toml index bb022754a..9cca80a60 100644 --- a/rust/sglang-server/Cargo.toml +++ b/rust/sglang-server/Cargo.toml @@ -8,6 +8,8 @@ license.workspace = true # Consumed by python/setup.py: registers this crate as a PyO3 extension module. [package.metadata.sglang] python-module = "sglang.srt.server._core" +# Always build optimized, even for an editable install. +debug = false [lib] name = "sglang_server"