-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
46 lines (41 loc) · 1.29 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
[package]
name = "hypothesis"
version = "0.12.0"
authors = ["Ninjani"]
edition = "2021"
description = "a Rust wrapper and CLI for the Hypothesis API"
repository = "https://github.com/out-of-cheese-error/rust-hypothesis"
readme = "README.md"
license = "MIT"
keywords = ["hypothesis", "annotation", "api", "cli"]
categories = ["api-bindings", "command-line-utilities"]
[features]
default = ["cli"]
# Feature required for hypothesis the CLI application.
# Disable (set default-features=false) if using as a Rust crate.
cli = [
"clap",
"clap_complete",
"eyre",
"color-eyre"
]
[dependencies]
# For CLI
eyre = { version = "0.6.11", optional = true }
color-eyre = { version = "0.6.2", optional = true }
clap = { version = "4.4.12", features = ["derive", "env"], optional = true }
clap_complete = { version = "4.4.5", optional = true }
# API calls
reqwest = { version = "0.11.23", features = ["json", "rustls-tls"], default-features = false }
tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread"] }
futures = "0.3.30"
thiserror = "1.0.53"
chrono = { version = "0.4.31", features = ["serde"] }
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
derive_builder = "0.12.0"
url = "2.5.0"
[dev-dependencies]
assert_cmd = "2.0.12"
predicates = "3.0.4"
dotenv = "0.15.0"