diff --git a/native/src/.cargo/config.toml b/native/src/.cargo/config.toml index 530a59489..113c980e0 100644 --- a/native/src/.cargo/config.toml +++ b/native/src/.cargo/config.toml @@ -10,3 +10,6 @@ target-dir = "../out/rust" build-std = ["std", "panic_abort"] build-std-features = ["panic_immediate_abort", "optimize_for_size"] profile-rustflags = true + +[profile.release] +rustflags = ["-Z", "location-detail=none", "-Z", "fmt-debug=none"] diff --git a/native/src/Cargo.lock b/native/src/Cargo.lock index 7f90f033e..13eba338e 100644 --- a/native/src/Cargo.lock +++ b/native/src/Cargo.lock @@ -813,7 +813,7 @@ dependencies = [ [[package]] name = "pb-rs" version = "0.10.0" -source = "git+https://github.com/tafia/quick-protobuf.git#54e7d6c5d981c6f7cec2e9a2167c10ed0f9392b4" +source = "git+https://github.com/topjohnwu/quick-protobuf.git#980b0fb0ff81f59c0faa6e6db490fb8ecf59c633" dependencies = [ "log", "nom", @@ -882,7 +882,7 @@ dependencies = [ [[package]] name = "quick-protobuf" version = "0.8.1" -source = "git+https://github.com/tafia/quick-protobuf.git#54e7d6c5d981c6f7cec2e9a2167c10ed0f9392b4" +source = "git+https://github.com/topjohnwu/quick-protobuf.git#980b0fb0ff81f59c0faa6e6db490fb8ecf59c633" dependencies = [ "byteorder", ] diff --git a/native/src/Cargo.toml b/native/src/Cargo.toml index bfc78bce2..a61c6ee6f 100644 --- a/native/src/Cargo.toml +++ b/native/src/Cargo.toml @@ -49,8 +49,8 @@ x509-cert = "0.3.0-rc.2" der = "0.8.0-rc.9" [patch.crates-io] -pb-rs = { git = "https://github.com/tafia/quick-protobuf.git" } -quick-protobuf = { git = "https://github.com/tafia/quick-protobuf.git" } +pb-rs = { git = "https://github.com/topjohnwu/quick-protobuf.git" } +quick-protobuf = { git = "https://github.com/topjohnwu/quick-protobuf.git" } lz4-sys = { path = "external/lz4-sys" } [profile.dev]