-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
56 lines (47 loc) · 1.62 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "tf-viewer"
version = "0.1.1"
authors = ["danielalvsaaker <daniel@nopemail.net>", "vidarandrebo"]
edition = "2021"
include = ["src/**/*", "LICENSE", "README.md"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[workspace]
members = [
"crates/tf-auth",
"crates/tf-database",
"crates/tf-events",
"crates/tf-graphql",
"crates/tf-models",
"crates/tf-parse",
"crates/tf-scopes",
]
[dependencies]
# web server etc.
axum = { version = "0.6", default-features = false, features = ["macros"] }
tower-http = { version = "0.3", features = ["cors", "compression-full"] }
tower = "0.4"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
#serde = { version = "1", features = ["derive"] }
# error handling
thiserror = "1.0"
tf-auth = { path = "crates/tf-auth" }
tf-database = { path = "crates/tf-database" }
tf-events = { path = "crates/tf-events" }
tf-graphql = { path = "crates/tf-graphql" }
tf-models = { path = "crates/tf-models", features = ["graphql"] }
tf-parse = { path = "crates/tf-parse" }
bytes = "1.1"
nanoid = "0.4"
moka = { version = "0.9", default-features = false, features = ["atomic64", "future", "quanta"] }
staticmap = "0.4"
crc32fast = "1.3"
rayon = "1.5"
serde_json = "*"
async-graphql = { version = "5.0", default-features = false }
async-graphql-axum = "5.0"
#[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator]
#version = "0.5"
#features = ["background_threads"]
[patch.crates-io]
askama = { git = "https://github.com/djc/askama" }
askama_axum = { git = "https://github.com/djc/askama" }