39 lines
978 B
TOML
39 lines
978 B
TOML
[package]
|
|
name = "rhailib_engine"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Central Rhai engine for heromodels"
|
|
|
|
[dependencies]
|
|
rhai = { version = "1.21.0", features = ["std", "sync", "decimal", "internals"] }
|
|
heromodels = { path = "../../../db/heromodels", features = ["rhai"] }
|
|
heromodels_core = { path = "../../../db/heromodels_core" }
|
|
chrono = "0.4"
|
|
heromodels-derive = { path = "../../../db/heromodels-derive" }
|
|
rhailib_dsl = { path = "../../../rhailib/src/dsl" }
|
|
|
|
[features]
|
|
default = ["calendar", "finance"]
|
|
calendar = []
|
|
finance = []
|
|
# Flow module is now updated to use our approach to Rhai engine registration
|
|
flow = []
|
|
legal = []
|
|
projects = []
|
|
biz = []
|
|
|
|
[[example]]
|
|
name = "calendar_example"
|
|
path = "examples/calendar/example.rs"
|
|
required-features = ["calendar"]
|
|
|
|
[[example]]
|
|
name = "flow_example"
|
|
path = "examples/flow/example.rs"
|
|
required-features = ["flow"]
|
|
|
|
[[example]]
|
|
name = "finance"
|
|
path = "examples/finance/example.rs"
|
|
required-features = ["finance"]
|