forked from DioxusLabs/docsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
105 lines (97 loc) · 2.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
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
104
105
[package]
name = "dioxus_docs_site"
version = "0.0.0"
authors = ["Jonathan Kelley <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus-router = { version = "0.4" }
dioxus = { version = "0.4" }
dioxus-web = { version = "0.4", features = [
"hydrate",
], optional = true }
dioxus-ssr = { version = "0.4", optional = true }
dioxus-fullstack = { version = "0.4", features = [
"router",
] }
dioxus-tui = { version = "0.4", optional = true }
dioxus-desktop = { version = "0.4", optional = true }
dioxus-liveview = { version = "0.4", features = [
"axum",
], optional = true }
dioxus-native-core = { version = "0.4", optional = true }
dioxus-native-core-macro = { version = "0.4", optional = true }
fermi = { version = "0.4" }
serde = { version = "1.0.163", features = ["derive"] }
serde_json = "1.0.96"
log = "0.4.17"
wasm-logger = "0.2.0"
wasm-bindgen = { version = "0.2.86", features = ["enable-interning"] }
once_cell = "1.17.1"
console_error_panic_hook = "0.1.7"
gloo-history = "0.1.3"
autoexport = "0.1.0"
dioxus-material-icons = { git = "https://github.com/jkelleyrtp/dioxus-material-icons.git", branch = "jk/bump-release" }
include_dir = "0.7.3"
anyhow = "1.0.71"
syntect-html = { git = "https://github.com/dioxuslabs/include_mdbook" }
mdbook-shared = { git = "https://github.com/dioxuslabs/include_mdbook" }
use-mdbook = { git = "https://github.com/dioxuslabs/include_mdbook" }
dioxus-search = { git = "https://github.com/dioxuslabs/dioxus-search" }
tokio = { version = "1.29.0", features = ["full"], optional = true }
axum = { version = "0.6.12", optional = true }
simple_logger = "4.2.0"
shipyard = { version = "0.6.2", optional = true }
reqwest = { version = "0.11.18", features = ["json"] }
gloo-storage = { version = "0.2.2", optional = true }
web-sys = { version = "0.3.64", features = [
"Document",
"Window",
"Event",
"AddEventListenerOptions",
] }
slab = "0.4.8"
chrono = { version = "0.4.26", features = ["serde"] }
futures = "0.3.28"
async-recursion = "1.0.4"
futures-util-preview = "0.2.2"
pretty_assertions = { version = "1.4.0", optional = true }
gloo-timers = { version = "0.2.6", features = ["futures"] }
js-sys = "0.3.64"
form_urlencoded = "1.2.0"
[profile.release]
# lto = true
# codegen-units = 1
opt-level = 'z'
strip = "debuginfo"
[profile.dev.build-override]
opt-level = 2
codegen-units = 256
[profile.release.build-override]
opt-level = 2
codegen-units = 256
[features]
default = []
doc_test = [
"tokio",
"ssr",
"dioxus-web",
"dioxus-router/web",
"dioxus-tui",
"dioxus-desktop",
"dioxus-liveview",
"dioxus-native-core",
"dioxus-native-core-macro",
"shipyard",
"gloo-storage",
"pretty_assertions",
]
web = ["dioxus-web", "dioxus-router/web"]
ssr = [
"dioxus-ssr",
"dioxus-router/ssr",
"tokio",
"dioxus-fullstack/axum",
"axum",
]
prebuild = ["ssr"]