move rhailib to herolib
This commit is contained in:
34
rhailib/Cargo.toml
Normal file
34
rhailib/Cargo.toml
Normal file
@@ -0,0 +1,34 @@
|
||||
[package]
|
||||
name = "rhailib"
|
||||
version = "0.1.0"
|
||||
edition = "2021" # Changed to 2021 for consistency with other crates
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
env_logger = "0.10"
|
||||
log = "0.4"
|
||||
redis = { version = "0.25.0", features = ["tokio-comp"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time", "sync", "signal"] }
|
||||
rhai = "1.21.0"
|
||||
derive = { path = "src/derive" }
|
||||
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = { version = "0.5", features = ["html_reports"] }
|
||||
uuid = { version = "1.6", features = ["v4", "serde"] } # For examples like dedicated_reply_queue_demo
|
||||
tempfile = "3.10"
|
||||
|
||||
[[bench]]
|
||||
name = "simple_rhai_bench"
|
||||
harness = false
|
||||
|
||||
[workspace]
|
||||
members = [
|
||||
".", # Represents the root package (rhailib)
|
||||
"src/monitor", # Added the new monitor package to workspace
|
||||
"src/macros", "src/dsl", "src/derive",
|
||||
]
|
||||
resolver = "2" # Recommended for new workspaces
|
Reference in New Issue
Block a user