rhailib/examples/Cargo.toml
2025-06-04 04:47:55 +03:00

27 lines
725 B
TOML

[package]
name = "rhailib-examples"
version = "0.1.0"
edition = "2021"
publish = false # This is a package of examples, not meant to be published
[dependencies]
# Local Rhailib crates
# Allows 'use rhai_client::...'
rhai_client = { path = "../src/client" }
# Allows 'use worker_lib::...'
worker_lib = { path = "../src/worker", package = "worker" }
# External dependencies (versions aligned with other crates)
rhai = { version = "1.18.0", features = ["sync", "decimal"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"] }
log = "0.4"
env_logger = "0.10"
[[bin]]
name = "example_math_worker"
path = "example_math_worker.rs"
[[bin]]
name = "example_string_worker"
path = "example_string_worker.rs"