-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
39 lines (37 loc) · 1.33 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
[package]
version = "2.4.0"
name = "inertia-rust"
description = "A Rust server-adapter for building modern MVC web apps with Inertia."
repository = "https://github.com/KaioFelps/inertia-rust"
keywords = ["inertiajs", "front-end", "react", "svelte", "vue"]
categories = ["network-programming", "template-engine", "visualization", "web-programming", "web-programming::http-server"]
edition = "2021"
readme = "README.md"
authors = [ "Kaio Felps" ]
license-file = "LICENSE"
exclude = [
"examples/*",
".idea/*",
".vscode/*",
"docs/"
]
[features]
actix = ["dep:actix-web"]
vite-template-resolver = ["vite-rust/basic-directives", "dep:regex"]
vite-hbs-template-resolver = ["dep:vite-rust", "dep:handlebars"]
actix-validator = ["dep:actix-web", "validator"]
validator = ["dep:validator"]
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
async-trait = "~0.1"
reqwest = { version = "~0.12", features = ["json"] }
log = "0.4"
tokio = { version = "~1", features = ["fs", "io-std", "test-util", "rt", "macros"] }
futures = "~0.3.30"
actix-web = { version = "~4", features = ["default"], optional = true }
vite-rust = { version = "~0.2", optional = true }
futures-util = "~0.3.31"
regex = { version = "1", optional = true}
validator = { version = ">= 0.9, < 1", optional = true }
handlebars = { version = "6", optional = true }