-
Notifications
You must be signed in to change notification settings - Fork 108
/
Cargo.toml
146 lines (132 loc) · 5.29 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[package]
name = "dioxus_docs_site"
version = "0.0.0"
authors = ["Jonathan Kelley <jkelleyrtp@gmail.com>"]
edition = "2018"
resolver = "2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dioxus = { version = "0.6.0-alpha.3", features = ["router", "fullstack"] }
dioxus-web = { version = "0.6.0-alpha.3", features = ["hydrate"], optional = true }
dioxus-ssr = { version = "0.6.0-alpha.3", optional = true }
dioxus-desktop = { version = "0.6.0-alpha.3", optional = true }
dioxus-liveview = { version = "0.6.0-alpha.3", features = ["axum"], optional = true }
dioxus-logger = { version = "0.5.1" }
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"
include_dir = "0.7.3"
anyhow = "1.0.71"
dioxus-material-icons = { git = "https://github.com/jkelleyrtp/dioxus-material-icons", branch = "jk/git-rev" }
syntect-html = { git = "https://github.com/dioxuslabs/include_mdbook", branch = "jk/build-gen" }
mdbook-shared = { git = "https://github.com/dioxuslabs/include_mdbook", branch = "jk/build-gen" }
use-mdbook = { git = "https://github.com/dioxuslabs/include_mdbook", branch = "jk/build-gen" }
dioxus-search = { git = "https://github.com/dioxuslabs/dioxus-search" }
dioxus-playground = { git = "https://github.com/DioxusLabs/playground", branch = "jk/update-manganis" }
tokio = { version = "1.29.0", features = ["full"], optional = true }
axum = { version = "0.7", optional = true }
http = { version = "1.0.0", optional = true }
simple_logger = "5.0.0"
reqwest = { version = "0.11.18", features = ["json"] }
gloo-storage = { version = "0.3.0", optional = true }
web-sys = { version = "0.3.64", features = [
"Document",
"HtmlDocument",
"Window",
"Event",
"AddEventListenerOptions",
"Navigator",
] }
slab = "0.4.8"
chrono = { version = "0.4.26", features = ["serde"] }
futures = "0.3.28"
async-recursion = "1.0.4"
futures-util = "0.3"
pretty_assertions = { version = "1.4.0", optional = true }
gloo-timers = { version = "0.3.0", features = ["futures"] }
js-sys = "0.3.64"
form_urlencoded = "1.2.0"
automod = "1.0.13"
fs_extra = { version = "1.3.0", optional = true }
stork-lib = { version = "1.6.0", features = [
"build-v3",
], default-features = false }
# Used only in doc tests
dioxus-sdk = { git = "https://github.com/dioxuslabs/sdk", branch = "feat/dioxus-0.6", features = ["i18n"], optional = true }
tower-http = { version = "0.5.0", optional = true, features = ["timeout"] }
tracing = "0.1.40"
rand = { version = "0.8.5", optional = true }
[build-dependencies]
mdbook-gen = { git = "https://github.com/dioxuslabs/include_mdbook", branch = "jk/build-gen" }
mdbook-shared = { git = "https://github.com/dioxuslabs/include_mdbook", branch = "jk/build-gen" }
prettyplease = "0.2.20"
[patch.crates-io]
dioxus = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-lib = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-core = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-core-macro = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-config-macro = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-router = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-router-macro = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-html = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-html-internal-macro = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-hooks = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-web = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-ssr = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-desktop = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-interpreter-js = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-liveview = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-rsx = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-signals = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-cli-config = { git = "https://github.com/dioxuslabs/dioxus" }
generational-box = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus_server_macro = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-fullstack = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-autofmt = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-devtools = { git = "https://github.com/dioxuslabs/dioxus" }
dioxus-devtools-types = { git = "https://github.com/dioxuslabs/dioxus" }
manganis = { git = "https://github.com/dioxuslabs/dioxus" }
manganis-core = { git = "https://github.com/dioxuslabs/dioxus" }
manganis-macro = { git = "https://github.com/dioxuslabs/dioxus" }
[profile.release]
lto = true
codegen-units = 1
opt-level = 'z'
strip = "debuginfo"
[profile.dev.build-override]
opt-level = 3
codegen-units = 1
[profile.release.build-override]
opt-level = 3
codegen-units = 1
[features]
default = ["web"]
web = ["dioxus/web"]
server = [
"dioxus/axum",
"dioxus-ssr",
"dioxus/ssr",
"tokio",
"axum",
"fs_extra",
]
doc_test = [
"tokio",
"web",
"dioxus-desktop",
"dioxus-liveview",
"gloo-storage",
"pretty_assertions",
"tower-http",
"dioxus-sdk",
"http",
"rand",
"server",
"dioxus/fullstack"
]