-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
98 lines (84 loc) · 2.07 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
[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]
pkarr = { git = "https://github.com/Pubky/pkarr", branch = "v3", package = "pkarr", features = [
"async",
] }
pubky = "0.3.0"
pubky-app-specs = { version = "0.2.1", features = ["openapi"] }
tokio = { version = "1.42.0", features = ["full"] }
axum = "0.7.9"
redis = { version = "0.27.6", features = ["tokio-comp", "json"] }
neo4rs = "0.8.0"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.134"
once_cell = "1.20.2"
utoipa = "5.3.0"
utoipa-swagger-ui = { version = "8.1.0", 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.9"
chrono = "0.4.39"
pubky-common = "0.1.0"
reqwest = "0.12.9"
base32 = "0.5.1"
blake3 = "1.5.5"
url = "2.5.4"
[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-core.git", tag = "pubky-v0.3.0" }
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