-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
98 lines (81 loc) · 3.04 KB
/
Cargo.toml
File metadata and controls
98 lines (81 loc) · 3.04 KB
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
[workspace]
resolver = "2"
members = [
"crates/*"
]
exclude = [
"crates/beacon-frontend-embed"
]
[workspace.dependencies]
# Workspace crates
beacon-core = { path = "crates/beacon-core", default-features = false }
beacon-passkey = { path = "crates/beacon-passkey", default-features = false }
entity = { path = "crates/entity" }
migration = { path = "crates/migration" }
# Web Framework
actix-web = "4.12"
actix-cors = "0.7"
actix-files = "0.6"
# Database
# Use Summpot fork with libsql support.
sea-orm = { git = "https://github.com/Summpot/sea-orm.git", branch = "libsql", features = ["sqlx-sqlite", "sqlx-postgres", "runtime-tokio-rustls", "macros"] }
sea-orm-migration = { git = "https://github.com/Summpot/sea-orm.git", branch = "libsql", features = ["sqlx-sqlite", "sqlx-postgres", "runtime-tokio-rustls"] }
# JWT & Crypto
jsonwebtoken = { version = "10.2", default-features = false, features = ["rust_crypto"] }
p256 = { version = "0.13", features = ["ecdsa", "pkcs8"] }
ecdsa = { version = "0.16", features = ["signing"] }
sha2 = "0.10"
md5 = "0.7"
argon2 = "0.5"
rand = "0.9"
openssl = { version = "0.10", features = ["vendored"] }
openssl-sys = { version = "0.9", features = ["vendored"] }
# CLI
clap = { version = "4.5", features = ["derive", "env"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
base64 = "0.22"
# Async Runtime
tokio = { version = "1.49", features = ["full"] }
# Utilities
chrono = { version = "0.4", features = ["serde"] }
dotenvy = "0.15"
env_logger = "0.11"
log = "0.4"
anyhow = "1.0"
mime_guess = "2.0"
url = "2.5"
uuid = { version = "1.19", features = ["v4", "v7", "serde"] }
urlencoding = "2.1"
# HTTP Client
reqwest = { version = "0.12", default-features = false, features = ["charset", "http2", "system-proxy", "json", "rustls-tls"] }
# WebAuthn
webauthn-rs = "0.5"
webauthn-rs-proto = "0.5"
# Cache
moka = { version = "0.12", features = ["sync"] }
# Redis (optional distributed ceremony state store)
redis = { version = "1.0", features = ["tokio-comp", "connection-manager"] }
# Serverless
lambda-web = "0.2.1"
# Cloudflare Workers (wasm)
worker = { version = "0.7" }
console_error_panic_hook = "0.1"
# Help rand/getrandom work reliably on wasm.
getrandom = { version = "0.3.4", features = ["wasm_js"] }
getrandom02 = { package = "getrandom", version = "0.2", features = ["js"] }
# Build Tools
which = "8.0"
# # Local development override:
# # This workspace is often opened alongside a sibling checkout of `SeaQL/sea-orm` (branch `libsql`).
# # The `libsql` branch is required for the Cloudflare Worker (wasm) build, and already exists in the
# # adjacent `../sea-orm` folder in this multi-root workspace.
# #
# # Using a local patch here allows us to iterate on libsql + wasm fixes without waiting for crates.io
# # or remote git updates.
# [patch."https://github.com/Summpot/sea-orm.git"]
# sea-orm = { path = "../sea-orm" }
# sea-orm-migration = { path = "../sea-orm/sea-orm-migration" }
# sea-orm-macros = { path = "../sea-orm/sea-orm-macros" }
# sea-orm-codegen = { path = "../sea-orm/sea-orm-codegen" }