2016-02-29 22:43:45 +01:00
|
|
|
[package]
|
|
|
|
name = "rhai"
|
2020-03-04 16:06:05 +01:00
|
|
|
version = "0.10.2"
|
2019-09-18 12:21:07 +02:00
|
|
|
edition = "2018"
|
2020-03-02 08:20:29 +01:00
|
|
|
authors = ["Jonathan Turner", "Lukáš Hozda", "Stephen Chung"]
|
2016-03-16 15:00:57 +01:00
|
|
|
description = "Embedded scripting for Rust"
|
|
|
|
homepage = "https://github.com/jonathandturner/rhai"
|
|
|
|
repository = "https://github.com/jonathandturner/rhai"
|
|
|
|
readme = "README.md"
|
|
|
|
license = "MIT/Apache-2.0"
|
|
|
|
include = [
|
|
|
|
"**/*.rs",
|
|
|
|
"scripts/*.rhai",
|
|
|
|
"Cargo.toml"
|
2016-03-16 23:07:08 +01:00
|
|
|
]
|
2018-02-09 22:27:41 +01:00
|
|
|
|
2020-03-08 15:47:13 +01:00
|
|
|
[dependencies]
|
|
|
|
num-traits = "*"
|
|
|
|
|
2018-02-09 22:27:41 +01:00
|
|
|
[features]
|
2020-03-15 15:39:58 +01:00
|
|
|
#default = ["no_function", "no_index", "no_float", "only_i32", "no_stdlib", "unchecked", "no_optimize"]
|
2020-03-16 05:40:42 +01:00
|
|
|
default = [ "optimize_full" ]
|
2020-03-11 06:28:12 +01:00
|
|
|
debug_msgs = [] # print debug messages on function registrations and calls
|
|
|
|
unchecked = [] # unchecked arithmetic
|
|
|
|
no_stdlib = [] # no standard library of utility functions
|
|
|
|
no_index = [] # no arrays and indexing
|
|
|
|
no_float = [] # no floating-point
|
|
|
|
no_function = [] # no script-defined functions
|
2020-03-14 13:06:10 +01:00
|
|
|
no_optimize = [] # no script optimizer
|
2020-03-16 05:40:42 +01:00
|
|
|
optimize_full = [] # set optimization level to Full (default is Simple)
|
2020-03-11 06:28:12 +01:00
|
|
|
only_i32 = [] # set INT=i32 (useful for 32-bit systems)
|
|
|
|
only_i64 = [] # set INT=i64 (default) and disable support for all other integer types
|
2020-03-10 10:10:33 +01:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
lto = "fat"
|
|
|
|
codegen-units = 1
|
2020-03-11 06:28:12 +01:00
|
|
|
#opt-level = "z" # optimize for size
|