/
Cargo.toml
48 lines (38 loc) · 1.34 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
[package]
name = "motorx"
version = "0.0.10"
edition = "2021"
authors = ["Isaiah Gamble <itg.2048@gmail.com>"]
license = "MIT OR Apache-2.0"
keywords = ["http", "server", "reverse-proxy"]
homepage = "https://github.com/tsar-boomba/motorx"
repository = "https://github.com/tsar-boomba/motorx"
readme = "README.md"
description = "A reverse-proxy in pure rust."
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.{ archive-format }"
bin-dir = "{ bin }{ binary-ext }"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
[package.metadata.release]
pre-release-hook = ["./tools/changelog.sh"]
[dependencies]
motorx-core = { path = "motorx-core", version = "0.0.10", default-features = false, features = ["serde-config", "logging", "tls"] }
tracing-subscriber = { version = "0.3.16", features = ["env-filter", "fmt", "parking_lot"] }
tracing = { workspace = true }
tokio = { workspace = true, features = ["rt", "macros", "rt-multi-thread"], optional = true }
tokio_wasi = { workspace = true, features = ["rt", "macros"], optional = true }
[features]
default = ["tokio", "motorx-core/default"]
wasm = ["tokio_wasi", "motorx-core/wasm"]
[profile.release]
#debug = true
[workspace]
members = [
"motorx-core",
"."
]
[workspace.dependencies]
tokio = "1.21.2"
tokio_wasi = "1.21.3"
tracing = "0.1"