1 Star 0 Fork 1

godxkey/WASM Odessay JPS

forked from six-6/WASM Odessay JPS 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Cargo.toml 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
six-6 提交于 2022-08-19 16:25 . Initial Commit
[package]
name = "wasm-odessay-jps"
version = "0.1.0"
authors = ["master"]
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["wee_alloc"]
debug = []
dev = ["debug", "console_error_panic_hook", "wee_alloc"]
[dependencies]
wasm-bindgen = "0.2"
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.1", optional = true }
# `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size
# compared to the default allocator's ~10K. It is slower than the default
# allocator, however.
#
# Unfortunately, `wee_alloc` requires nightly Rust when targeting wasm for now.
wee_alloc = { version = "0.4.2", optional = true }
[dev-dependencies]
wasm-bindgen-test = "0.2"
[profile.release]
# Tell `rustc` to optimize for small code size.
lto = true
opt-level = 'z'
codegen-units = 1
panic = 'abort'
[profile.dev]
lto = false
opt-level = 1
codegen-units=256
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xipis/wasm-odessay-jps.git
git@gitee.com:xipis/wasm-odessay-jps.git
xipis
wasm-odessay-jps
WASM Odessay JPS
master

搜索帮助