-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
103 lines (89 loc) · 2.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
[package]
name = "pubky-nexus"
version = "0.2.0"
edition = "2021"
description = "Nexus between homeservers and Pubky-App. Pubky-nexus constructs a social graph out of all of the events on pubky-core homeservers and exposes a social-media-like API capable of powerful Web-of-Trust inference."
homepage = "https://github.com/pubky"
repository = "https://github.com/pubky/pubky-nexus"
license = "MIT"
default-run = "service"
build = "build.rs"
[dependencies]
bytes = "1.9.0" # Enforce this version as Pubky and Axum conflict v1.7.1 vs v1.9.0
pkarr = { git = "https://github.com/pubky/pkarr", branch = "v3-rc1", package = "pkarr" }
mainline = { git = "https://github.com/pubky/mainline", branch = "v5-rc1", default-features = false }
pubky = { git = "https://github.com/pubky/pubky", branch = "v0.4.0-rc1" }
pubky-app-specs = { git = "https://github.com/pubky/pubky-app-specs", features = [
"openapi",
] }
tokio = { version = "1.43.0", features = ["full"] }
axum = "0.8.1"
redis = { version = "0.28.1", features = ["tokio-comp", "json"] }
neo4rs = "0.8.0"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.137"
once_cell = "1.20.2"
utoipa = { git = "https://github.com/juhaku/utoipa", rev = "d522f744259dc4fde5f45d187983fb68c8167029" }
utoipa-swagger-ui = { git = "https://github.com/juhaku/utoipa", rev = "d522f744259dc4fde5f45d187983fb68c8167029", features = [
"axum",
] }
tower-http = { version = "0.6.2", features = ["fs", "cors"] }
dotenv = "0.15"
log = "0.4.22"
env_logger = "0.11.6"
const_format = "0.2.34"
thiserror = "2.0.11"
chrono = { version = "0.4.39", default-features = false, features = ["clock"] }
pubky-common = { git = "https://github.com/pubky/pubky", branch = "v0.4.0-rc1" }
base32 = "0.5.1"
blake3 = "1.5.5"
url = "2.5.4"
async-trait = "0.1.85"
reqwest = "0.12.9"
[dev-dependencies]
anyhow = "1.0.95"
httpc-test = "0.1.10"
criterion = { version = "0.5.1", features = ["async_tokio"] }
pubky-homeserver = { git = "https://github.com/pubky/pubky", branch = "v0.4.0-rc1" }
rand = "0.8.5"
rand_distr = "0.4.3"
tokio-shared-rt = "0.1"
[lib]
name = "pubky_nexus"
path = "src/lib.rs"
[[bin]]
name = "service"
path = "src/service.rs"
[[bin]]
name = "watcher"
path = "src/watcher.rs"
[[bench]]
name = "user"
harness = false
[[bench]]
name = "tag"
harness = false
[[bench]]
name = "post"
harness = false
[[bench]]
name = "reindex"
harness = false
[[bench]]
name = "follows"
harness = false
[[bench]]
name = "streams"
harness = false
[[bench]]
name = "search"
harness = false
[[bench]]
name = "watcher"
harness = false
# Max performance profile
[profile.release]
opt-level = 3
codegen-units = 1
lto = true
incremental = false