-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (36 loc) · 1.26 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
[dependencies]
async-trait = {version = "0.1", optional = true}
axum = {version = "0.6", optional = true}
bytes = {version = "1.5", optional = true}
chrono = {version = "0.4", optional = true}
mockall = {version = "0.11", optional = true}
open = {version = "5.0", optional = true}
serde_json = {version = "1.0", optional = true}
tokio = {version = "1.32", features = ["process", "rt"], optional = true}
tracing = "0.1"
uuid = {version = "0.8", features = ["v4"], optional = true}
[dev-dependencies]
mockall = "0.11"
reqwest = {version = "0.11", features = ["json"]}
tokio = {version = "1.32", features = ["full"]}
tokio-test = "0.4"
[features]
browser = ["dep:open"]
clock = ["dep:chrono"]
cmd = ["dep:async-trait", "dep:tokio"]
full = ["browser", "clock", "cmd", "uuid"]
http = ["dep:async-trait", "dep:axum", "dep:serde_json", "dep:tokio"]
mock = ["dep:mockall"]
uuid = ["dep:uuid"]
[package]
authors = ["Guillaume Leroy <pro.guillaume.leroy@gmail.com>"]
categories = ["development-tools::testing"]
description = "Usefull components to make easier to mock your code"
documentation = "https://docs.rs/mockable"
edition = "2021"
keywords = ["mock", "mockable", "mocking", "test"]
license-file = "LICENSE"
name = "mockable"
version = "3.0.0"
[package.metadata.docs.rs]
all-features = true