-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
69 lines (63 loc) · 2.32 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
[package]
name = "restless"
version = "0.2.0"
documentation = "https://docs.rs/restless"
description = "REST API helper traits"
edition.workspace = true
license.workspace = true
authors.workspace = true
homepage.workspace = true
repository.workspace = true
[dependencies]
restless-core = { workspace = true }
restless-util = { workspace = true, optional = true }
restless-data = { workspace = true }
restless-query = { workspace = true }
restless-hyper = { workspace = true, optional = true }
restless-axum = { workspace = true, optional = true }
restless-gloo = { workspace = true, optional = true }
restless-yew = { workspace = true, optional = true }
restless-wasm-cache = { workspace = true, optional = true }
[features]
default = ["bytes", "json"]
util = ["dep:restless-util"]
json = ["restless-data/json"]
bytes = ["restless-core/bytes", "restless-data/bytes"]
postcard = ["restless-data/postcard"]
bincode = ["restless-data/bincode"]
yaml = ["restless-data/yaml"]
urlencoded = ["restless-query/urlencoded"]
qs = ["restless-query/qs"]
gloo = ["dep:restless-gloo"]
yew = ["dep:restless-yew"]
wasm-cache = ["dep:restless-wasm-cache"]
reqwest = []
http = ["restless-core/http"]
hyper = ["dep:restless-hyper"]
axum = ["dep:restless-axum"]
full = ["json", "bytes", "postcard", "bincode", "yaml", "urlencoded", "qs", "gloo", "yew", "reqwest", "http", "hyper", "axum"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[workspace]
resolver = "2"
members = [ "clients/*", "core", "data", "query", "util"]
[workspace.package]
edition = "2021"
license = "MIT"
authors = ["Patrick M. Elsen <[email protected]>"]
repository = "https://github.com/xfbs/restless"
homepage = "https://xfbs.gitlab.io/restless"
[workspace.dependencies]
restless-core = { path = "./core", version = "0.1.0" }
restless-util = { path = "./util", version = "0.1.0" }
restless-data = { path = "./data", version = "0.1.0" }
restless-query = { path = "./query", version = "0.1.0" }
restless-hyper = { path = "./clients/hyper", version = "0.1.0" }
restless-axum = { path = "./clients/axum", version = "0.1.0" }
restless-gloo = { path = "./clients/gloo", version = "0.1.0" }
restless-yew = { path = "./clients/yew", version = "0.1.0" }
restless-wasm-cache = { path = "./clients/wasm-cache", version = "0.1.0" }
thiserror = "1.0.57"
async-trait = "0.1.77"
serde = "1.0.197"