brain/Cargo.toml
ghe0 1ca66f3bc3
switch from LP to credits
As part of open sourcing the software product, we should consider that
loyalty points are not the best language. Switching to "credits" makes
sense from a lot of points of view.

At the same time, this change allows an achitectural change towards
slots. Slots allow daemon resources to get booked based on the HW ratio
configured in the daemon config.
2025-06-25 03:51:02 +03:00

45 lines
1.1 KiB
TOML

# SPDX-License-Identifier: Apache-2.0
[package]
name = "surreal-brain"
version = "0.1.0"
edition = "2021"
[dependencies]
chrono = { version = "0.4.40", features = ["serde"] }
dashmap = { version = "6.1.0", features = ["serde"] }
futures = "0.3.31"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
serde_yaml = "0.9.34"
surrealdb = "2.2.2"
tokio = { version = "1.44.2", features = ["macros", "rt-multi-thread"] }
tonic = { version = "0.12", features = ["tls"] }
detee-shared = { git = "ssh://git@gitea.detee.cloud/testnet/proto", branch = "credits-v2" }
ed25519-dalek = "2.1.1"
bs58 = "0.5.1"
tokio-stream = "0.1.17"
log = "0.4.27"
env_logger = "0.11.8"
thiserror = "2.0.12"
nanoid = "0.4.0"
dotenv = "0.15.0"
hex = "0.4.3"
[profile.release]
lto = true
strip = true
opt-level = 3
panic = 'abort'
codegen-units = 1
[dev-dependencies]
anyhow = "1.0.98"
bs58 = "0.5.1"
ed25519-dalek = { version = "2.1.1", features = ["rand_core"] }
hyper-util = "0.1.11"
itertools = "0.14.0"
rand = "0.8"
reqwest = { version = "0.12.19", features = ["blocking"] }
tower = "0.5.2"