85 lines
2.1 KiB
TOML
85 lines
2.1 KiB
TOML
[package]
|
|
name = "heromodels"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
description = "A library for hero models with base model trait implementation"
|
|
authors = ["Your Name <your.email@example.com>"]
|
|
|
|
[dependencies]
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
bincode = { version = "2", features = ["serde"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
ourdb = { path = "../ourdb" }
|
|
tst = { path = "../tst" }
|
|
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", "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"
|
|
|
|
[[example]]
|
|
name = "calendar_example"
|
|
path = "examples/calendar_example/main.rs"
|
|
|
|
[[example]]
|
|
name = "governance_proposal_example"
|
|
path = "examples/governance_proposal_example/main.rs"
|
|
|
|
[[example]]
|
|
name = "finance_example"
|
|
path = "examples/finance_example/main.rs"
|
|
|
|
[[example]]
|
|
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"
|
|
|
|
[[example]]
|
|
name = "governance_rhai"
|
|
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"]
|