flora is a fast and secure runtime that lets you write discord bots for your servers, with a rich TypeScript SDK, without worrying about running infrastructure. [mirror]
1[workspace]
2resolver = "2"
3members = ["apps/runtime", "crates/*"]
4
5[workspace.package]
6edition = "2024"
7license = "MIT"
8repository = "https://github.com/uwu/flora"
9
10[workspace.dependencies]
11axum = { version = "0.8.8", features = ["multipart"] }
12base64 = { version = "0.22", default-features = false, features = ["alloc"] }
13chacha20poly1305 = { version = "0.10", features = ["std", "rand_core"] }
14chrono = { version = "0.4.44", features = ["serde"] }
15clap = "4.5.20"
16color-eyre = { version = "0.6.5", features = ["capture-spantrace", "issue-url"] }
17confique = { version = "0.4.0", features = ["toml"] }
18cookie = "0.18"
19croner = "3.0"
20dashmap = "6.1.0"
21deno_core = { git = "file:///home/tasky/flora/submodules/deno_core", branch = "flora-locker-compat", default-features = false, features = [
22 "v8_use_custom_libcxx"
23] }
24deno_error = "0.7.1"
25deno_fetch = "0.249.0"
26deno_net = "0.217.0"
27deno_permissions = "0.84.0"
28deno_telemetry = "0.47.0"
29deno_tls = "0.212.0"
30deno_web = "0.256.0"
31deno_webidl = "0.225.0"
32dotenvy = "0.15"
33eyre = "0.6.12"
34fred = "10.1.0"
35futures = "0.3.32"
36futures-util = "0.3.32"
37hex = "0.4"
38hmac = "0.12"
39http = "1"
40num_cpus = "1.16"
41openssl = { version = "0.10.75", features = ["vendored"] }
42oxc = { version = "0.101.0", features = [
43 "full",
44 "oxc_regular_expression",
45 "semantic",
46 "transformer"
47] }
48oxc_sourcemap = "6.0.2"
49parking_lot = "0.12"
50proc-macro2 = "1.0.106"
51quote = "1.0.44"
52rand = "0.8"
53reqwest = { version = "0.12.25", features = ["json", "multipart", "stream"] }
54serde = { version = "1", features = ["derive"] }
55serde_json = "1.0.149"
56serenity = { git = "https://github.com/serenity-rs/serenity", default-features = false, branch = "next", features = [
57 "typesize",
58 "temp_cache",
59 "tokio_task_builder",
60 "transport_compression_zstd",
61 "rustls_backend"
62] }
63sha2 = "0.10"
64rocksdb = { version = "0.24", default-features = false, features = ["bindgen-runtime"] }
65sqlx = { version = "0.8.6", features = [
66 "chrono",
67 "macros",
68 "postgres",
69 "runtime-tokio-rustls",
70 "uuid"
71] }
72syn = { version = "2.0.117", features = ["full", "extra-traits", "parsing"] }
73sys_traits = { version = "0.1.17", features = ["libc", "real"] }
74t0x = { version = "0.1.8", features = ["serde-json-impl"] }
75t0x-macros = "0.1.8"
76thiserror = "2.0.18"
77time = "0.3.47"
78tokio = { version = "1.50.0", features = ["full"] }
79tokio-stream = { version = "0.1", features = ["sync"] }
80tower-http = { version = "0.6.8", features = ["compression-gzip", "fs", "timeout", "trace"] }
81tower-layer = "0.3.3"
82tower-service = "0.3.3"
83tracing = "0.1.43"
84tracing-error = "0.2.1"
85tracing-subscriber = { version = "0.3.22", features = ["chrono", "env-filter", "serde", "time"] }
86url = "2.5.8"
87urlencoding = "2.1"
88utoipa = { version = "5.4.0", features = [
89 "auto_into_responses",
90 "axum_extras",
91 "chrono",
92 "config",
93 "debug",
94 "url",
95 "uuid"
96] }
97utoipa-scalar = { version = "0.3.0", features = ["axum"] }
98static-serve = { version = "0.6", features = [] }
99uuid = { version = "1.21.0", features = ["v4"] }
100
101[patch.crates-io]
102# Use git fork of deno_core aligned with rusty_v8 locker support.
103deno_core = { git = "file:///home/tasky/flora/submodules/deno_core", branch = "flora-locker-compat" }
104deno_ops = { git = "file:///home/tasky/flora/submodules/deno_core", branch = "flora-locker-compat" }
105serde_v8 = { git = "file:///home/tasky/flora/submodules/deno_core", branch = "flora-locker-compat" }
106# Shim `v8` to published `flora_v8` crate.
107v8 = { path = "crates/v8_shim" }