Files
ssw-mpc/Cargo.toml
T
admin 54781b3f83
ci / gate (push) Waiting to run
refactor: 项目改名 ssw-mpc,crate 统一到 mpc-* 前缀
- 项目与文档标题:nax-rs → ssw-mpc(尚数网-多方安全计算),二进制 nax → mpc
- 18 个 crate 及目录 nax-* → mpc-*,Rust 引用 nax_* → mpc_*
- 环境变量、C 符号、构建/部署脚本:NAX_* → MPC_*、libnax_ray.so → libmpc_ray.so
- 保留协议域分隔常量与 refs/nax 参考实现路径,维持 golden 向量与历史数据兼容
- 新增 [profile.dev] incremental=false
2026-11-05 15:06:12 +08:00

37 lines
924 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[workspace]
resolver = "2"
members = ["crates/*"]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
rust-version = "1.85"
authors = ["SSW-MPC Contributors"]
[workspace.dependencies]
mpc-core = { path = "crates/mpc-core", default-features = false }
mpc-tee = { path = "crates/mpc-tee", default-features = false }
mpc-proto = { path = "crates/mpc-proto", default-features = false }
# dev 关 incremental:workspace member 才进得了 sccache,
# 也避免 target/debug/incremental 暴涨。测试仍用 unwind。
[profile.dev]
incremental = false
# 交付物是单二进制:fat LTO + 去符号 + abort 式 panic。
# release 不继承 dev,测试需要 unwind。
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = true
overflow-checks = false
# 基准测试用:保留符号但全开优化
[profile.bench]
inherits = "release"
strip = false
debug = 1