-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
58 lines (49 loc) · 1.91 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
[package]
name = "nano-og"
version = "0.1.0"
authors = ["Mahmoud Harmouch <oss@wiseai.dev>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { version = "1.0.215", features = ["derive"] }
dioxus = { version = "0.6.0", features = ["fullstack", "router", "html"] }
mongodb = { version = "3.1.0", optional = true }
dotenv = { version = "0.15.0" }
chrono = { version = "0.4.38", features = ["serde"] }
bson = { version = "2.13.0", features = ["chrono-0_4"] }
futures-util = { version = "0.3.31" }
jsonwebtoken = { version = "9.3.0", optional = true }
argon2 = { version = "0.5.3", optional = true }
tokio = { version = "1.41.1", optional = true }
uuid = { version = "1.11.0", optional = true }
rand = { version = "0.8.5", optional = true }
axum-extra = { version = "0.9.4", features = ["cookie"], optional = true }
rand_core = { version = "0.6.4", features = ["std"], optional = true }
anyhow = "1.0.93"
time = "0.3.36"
regex = "1.11.1"
getrandom = { version = "0.2.15", features = ["js"] }
web-sys = { version = "0.3.72", features = ["Selection", "Window", "Navigator", "Clipboard"] }
gloo-storage = "0.3.0"
tower-http = { version = "0.6.1", features = ["cors"], optional = true }
dioxus-web = { version = "0.6.0", features = ["hydrate"] }
nano-ai = { version = "0.0.1" }
wasm-bindgen-futures = "0.4.45"
base64 = { version = "0.22.1", optional = true }
pinata-sdk = { version = "1.1.0", optional = true }
axum = { version = "0.7.7", optional = true }
# Debug
dioxus-logger = "0.6.0"
[features]
default = []
server = ["dioxus/server", "axum", "tower-http", "pinata-sdk", "base64", "tokio", "mongodb", "jsonwebtoken", "argon2", "uuid", "rand", "axum-extra", "rand_core"]
web = ["dioxus/web"]
axum-extra = ["dep:axum-extra"]
[profile]
[profile.wasm-dev]
inherits = "dev"
opt-level = 1
[profile.server-dev]
inherits = "dev"
[profile.android-dev]
inherits = "dev"