generated from EmbarkStudios/opensource-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
55 lines (50 loc) · 1.31 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
[package]
name = "cd"
description = "API interaction for clearlydefined.io"
repository = "https://github.com/EmbarkStudios/clearly-defined"
version = "0.3.1"
authors = [
"Embark <opensource@embark-studios.com>",
"Jake Shadle <jake.shadle@embark-studios.com>",
]
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/cd"
homepage = "https://github.com/EmbarkStudios/clearly-defined"
keywords = ["license", "spdx"]
categories = ["api-bindings"]
[features]
# Adds a blocking client implementation to make API requests with, can be combined
# with either `native` or `rustls` to configure the TLS implementation used
blocking = ["client", "reqwest/blocking"]
# cache = []
client = ["reqwest"]
[dependencies]
# Error handling
anyhow = "1.0"
# Nicer byte buffers
bytes = "1.1"
# Utf-8 paths
camino = { version = "1.0", features = ["serde1"] }
# HTTP helpers
http = "1.1.0"
# Semver parsing
semver = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Easier error definition
thiserror = "2.0"
# Url parsing
url = "2.5"
# "Built-in" HTTP request implementation
[dependencies.reqwest]
version = "0.12"
optional = true
default-features = false
features = ["rustls-tls"]
[[example]]
name = "cli"
required-features = ["blocking"]
[dev-dependencies]
nu-ansi-term = "0.50"