# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2018" rust-version = "1.66.0" name = "spo-rhai" version = "1.17.2" authors = [ "Jonathan Turner", "Lukáš Hozda", "Stephen Chung", "jhwgh1968", ] include = [ "/src/**/*", "/Cargo.toml", "/README.md", "LICENSE*", ] description = "Embedded scripting for Rust" homepage = "https://rhai.rs" readme = "README.md" keywords = [ "scripting", "scripting-engine", "scripting-language", "embedded", ] categories = [ "no-std", "embedded", "wasm", "parser-implementations", ] license = "MIT OR Apache-2.0" repository = "https://github.com/rhaiscript/rhai" resolver = "2" [package.metadata.docs.rs] features = [ "document-features", "metadata", "serde", "internals", "decimal", "debugging", ] [profile.release] lto = "fat" codegen-units = 1 [[bin]] name = "rhai-repl" required-features = ["rustyline"] [[bin]] name = "rhai-run" [[bin]] name = "rhai-dbg" required-features = ["debugging"] [dependencies.ahash] version = "0.8.2" features = ["compile-time-rng"] default-features = false [dependencies.arbitrary] version = "1.3.2" features = ["derive"] optional = true [dependencies.bitflags] version = "2.0.0" default-features = false [dependencies.core-error] version = "0.0.0" features = ["alloc"] optional = true default-features = false [dependencies.document-features] version = "0.2.0" optional = true [dependencies.getrandom] version = "0.2.0" optional = true [dependencies.hashbrown] version = "0.14.0" optional = true [dependencies.indexmap] version = "2.2.3" features = ["serde"] optional = true [dependencies.libm] version = "0.2.0" optional = true default-features = false [dependencies.no-std-compat] version = "0.4.1" features = ["alloc"] optional = true default-features = false [dependencies.num-traits] version = "0.2.0" default-features = false [dependencies.once_cell] version = "1.7.0" features = ["race"] default-features = false [dependencies.rhai_codegen] version = "2.0.0" package = "spo-rhai_codegen" [dependencies.rust_decimal] version = "1.16.0" features = ["maths"] optional = true default-features = false [dependencies.rustyline] version = "13.0.0" optional = true [dependencies.serde] version = "1.0.96" features = [ "derive", "alloc", ] optional = true default-features = false [dependencies.serde_json] version = "1.0.45" features = ["alloc"] optional = true default-features = false [dependencies.smallvec] version = "1.7.0" features = [ "union", "const_new", "const_generics", ] default-features = false [dependencies.smartstring] version = "1.0.0" default-features = false [dependencies.thin-vec] version = "0.2.13" default-features = false [dependencies.unicode-xid] version = "0.2.0" optional = true default-features = false [dev-dependencies.rmp-serde] version = "1.1.0" [dev-dependencies.serde_json] version = "1.0.45" features = ["alloc"] default-features = false [features] bin-features = [ "decimal", "metadata", "serde", "debugging", "rustyline", ] debugging = ["internals"] decimal = ["rust_decimal"] default = [ "std", "ahash/runtime-rng", "indexmap", ] f32_float = [] fuzz = [ "arbitrary", "rust_decimal/rust-fuzz", "serde", ] indexmap = ["dep:indexmap"] internals = [] metadata = [ "serde", "serde_json", "rhai_codegen/metadata", "smartstring/serde", ] no_closure = [] no_custom_syntax = [] no_float = [] no_function = ["no_closure"] no_index = [] no_module = [] no_object = [] no_optimize = [] no_position = [] no_std = [ "no-std-compat", "num-traits/libm", "core-error", "libm", "hashbrown", "no_time", ] no_time = [] only_i32 = [] only_i64 = [] serde = [ "dep:serde", "smartstring/serde", "smallvec/serde", "thin-vec/serde", ] std = [ "once_cell/std", "ahash/std", "num-traits/std", "smartstring/std", ] stdweb = [ "getrandom/js", "instant/stdweb", ] sync = [] testing-environ = [] unchecked = [] unicode-xid-ident = ["unicode-xid"] unstable = [] wasm-bindgen = [ "getrandom/js", "instant/wasm-bindgen", ] [target."cfg(target_family = \"wasm\")".dependencies.instant] version = "0.1.10"