[package] name = "buyu_crate_test_demo" version = "0.1.0" edition = "2021" license = "MIT" description = "这是一个描述" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] # profile.dev中的dev代表着环境, 例如我们在正式时会带上--release则是正式, 默认不带则是dev环境 # opt-level代表的代码的编译优化登记, 0-3, 数字越大优化越高, 编译耗时越长 [profile.dev] opt-level = 0 [profile.release] opt-level = 3