rhai/no_std/no_std_test/Cargo.toml

39 lines
783 B
TOML
Raw Normal View History

cargo-features = ["named-profiles"]
[workspace]
2020-07-21 16:32:24 +02:00
[package]
2020-07-21 17:08:46 +02:00
name = "no_std_test"
2020-07-21 16:32:24 +02:00
version = "0.1.0"
edition = "2018"
authors = ["Stephen Chung"]
2020-07-21 17:08:46 +02:00
description = "no-std test application"
2021-01-07 10:30:06 +01:00
homepage = "https://github.com/rhaiscript/rhai/tree/no_std/no_std_test"
repository = "https://github.com/rhaiscript/rhai"
2020-07-21 16:32:24 +02:00
[dependencies]
2021-03-30 12:06:58 +02:00
rhai = { path = "../../", features = [ "no_std" ], default_features = false }
2020-07-21 16:32:24 +02:00
wee_alloc = { version = "0.4.5", default_features = false }
[profile.dev]
panic = "abort"
[profile.release]
opt-level = "z" # optimize for size
debug = false
rpath = false
debug-assertions = false
2021-07-01 12:44:01 +02:00
codegen-units = 1
panic = "abort"
[profile.unix]
inherits = "release"
lto = true
[profile.windows]
inherits = "release"
[profile.macos]
inherits = "release"
lto = "fat"