implement more models and rhai examples
This commit is contained in:
@@ -16,10 +16,14 @@ heromodels-derive = { path = "../heromodels-derive" }
|
||||
heromodels_core = { path = "../heromodels_core" }
|
||||
rhai_autobind_macros = { path = "../../rhaj/rhai_autobind_macros" }
|
||||
rhai_wrapper = { path = "../../rhaj/rhai_wrapper" }
|
||||
rhai = { version = "1.21.0", features = ["std", "sync", "decimal"] } # Added "decimal" feature, sync for Arc<Mutex<>>
|
||||
rhai = { version = "1.21.0", features = ["std", "sync", "decimal", "internals"] } # Added "decimal" feature, sync for Arc<Mutex<>>
|
||||
adapter_macros = { path = "../adapter_macros" }
|
||||
rhai_client_macros = { path = "../rhai_client_macros" }
|
||||
|
||||
[features]
|
||||
default = []
|
||||
rhai = []
|
||||
|
||||
[dev-dependencies]
|
||||
chrono = "0.4"
|
||||
|
||||
@@ -39,6 +43,14 @@ path = "examples/finance_example/main.rs"
|
||||
name = "calendar_rhai"
|
||||
path = "examples/calendar_rhai/example.rs"
|
||||
|
||||
[[example]]
|
||||
name = "calendar_rhai_client"
|
||||
path = "examples/calendar_rhai_client/example.rs"
|
||||
|
||||
[[example]]
|
||||
name = "flow_rhai"
|
||||
path = "examples/flow_rhai/example.rs"
|
||||
|
||||
[[example]]
|
||||
name = "finance_rhai"
|
||||
path = "examples/finance_rhai/example.rs"
|
||||
@@ -50,3 +62,23 @@ path = "examples/governance_rhai/example.rs"
|
||||
[[example]]
|
||||
name = "governance_rhai_client"
|
||||
path = "examples/governance_rhai_client/example.rs"
|
||||
|
||||
[[example]]
|
||||
name = "flow_example"
|
||||
path = "examples/flow_example.rs"
|
||||
|
||||
[[example]]
|
||||
name = "legal_rhai"
|
||||
path = "examples/legal_rhai/example.rs"
|
||||
required-features = ["rhai"]
|
||||
|
||||
|
||||
[[example]]
|
||||
name = "project_rhai"
|
||||
path = "examples/project_rhai/example.rs"
|
||||
required-features = ["rhai"]
|
||||
|
||||
[[example]]
|
||||
name = "biz_rhai"
|
||||
path = "examples/biz_rhai/example.rs"
|
||||
required-features = ["rhai"]
|
||||
|
Reference in New Issue
Block a user