加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Cargo.toml 2.09 KB
一键复制 编辑 原始数据 按行查看 历史
OWenT 提交于 2018-08-13 17:43 . update openssl
[package]
name = "ideaactsvr"
version = "0.1.0"
authors = ["owent <admin@owent.net>"]
[dependencies]
json = ">=0.11.13"
actix-web = ">=0.7.3"
futures = "^0.1.23"
tokio = ">=0.1.7"
tokio-io = ">=0.1.7"
log = ">=0.4.3"
time = ">=0.1.40"
hex = ">=0.3.2"
base64 = ">=0.9.2"
openssl = { version = ">=0.10.11" }
[dependencies.clap]
version = "^2.32.0"
default-features = false
features = ["suggestions", "color"]
[build-dependencies.clap]
version = "^2.32.0"
default-features = false
features = ["suggestions", "color"]
[[bin]]
name = "ideaactsvr"
# crate-type = ["staticlib"]
# The development profile, used for `cargo build`.
[profile.dev]
# opt-level = 0 # controls the `--opt-level` the compiler builds with.
# 0-1 is good for debugging. 2 is well-optimized. Max is 3.
debug = true # include debug information (debug symbols). Equivalent to
# `-C debuginfo=2` compiler flag.
rpath = false # controls whether compiler should set loader paths.
# If true, passes `-C rpath` flag to the compiler.
lto = false # Link Time Optimization usually reduces size of binaries
# and static libraries. Increases compilation time.
# If true, passes `-C lto` flag to the compiler.
debug-assertions = true # controls whether debug assertions are enabled
# (e.g. debug_assert!() and arithmetic overflow checks)
codegen-units = 4 # if > 1 enables parallel code generation which improves
# compile times, but prevents some optimizations.
# Passes `-C codegen-units`. Ignored when `lto = true`.
incremental = false
panic = 'abort' # panic strategy (`-C panic=...`), can also be 'abort'
# The release profile, used for `cargo build --release`.
[profile.release]
# opt-level = 3
debug = false
rpath = false
lto = true
debug-assertions = false
codegen-units = 1
incremental = false
panic = 'abort'
opt-level = "z"
[target.x86_64-unknown-linux-gnu]
rustflags = ["-C", "target-feature=+crt-static"]
[target.x86_64-unknown-linux-musl]
linker = "musl-gcc"
[features]
system-alloc = []
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化