-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
54 lines (46 loc) · 1.64 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
[workspace]
members = [
"src/html",
"src/url",
"src/mime"
, "src/http"]
[package]
name = "http-srv"
description = "Http Server"
authors = ["Saúl Valdelvira <[email protected]>"]
version = "0.3.2"
edition = "2021"
license = "MIT"
readme = "README"
repository = "https://git.saulv.es/http-server"
default-run = "http-srv"
[[bin]]
name = "http-client"
path = "src/bin/client.rs"
required-features = ["client"]
[[bin]]
name = "http-srv"
path = "src/bin/server.rs"
required-features = ["server"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
http = { package = "http-utils", path = "src/http", version = ">=0.1.0" }
pool = { package = "job-pool", version = ">=0.1.0", git = "https://github.com/saulvaldelvira/job-pool" }
jsonrs = { package = "jsonrs", version = ">=0.1.4", git = "https://github.com/saulvaldelvira/json.rs" }
delay_init = { package = "delay_init" , version = ">=0.2.0", git = "https://github.com/saulvaldelvira/delay-init" }
[workspace.dependencies]
url = { package = "url-utils", version = ">=0.1.0", path = "src/url" }
base64 = { package = "rb64", version = ">=0.1.0", git = "https://github.com/saulvaldelvira/rb64" }
html = { package = "rhtml", version = ">=0.1.0", path = "src/html" }
mime = { package = "rmime", version = ">=0.1.0", path = "src/mime" }
regexpr = { version = ">=0.3.3", git = "https://github.com/saulvaldelvira/regexpr" }
[workspace.dependencies.builders]
package = "builders"
default-features = false
features = ["builder"]
version = ">=0.1.0"
git = "https://github.com/saulvaldelvira/builders"
[features]
default = ["client", "server"]
client = []
server = []