-
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Cargo.toml
42 lines (35 loc) · 1.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
[package]
name = "cli-candlestick-chart"
version = "0.4.1"
license = "MIT"
description = "A library for displaying candlestick charts right into your terminal."
readme = "README.md"
homepage = "https://github.com/Julien-R44/cli-candlestick-chart"
repository = "https://github.com/Julien-R44/cli-candlestick-chart"
keywords = ["cli", "terminal", "trading", "candlestick", "chart"]
categories = ["command-line-interface", "visualization"]
authors = ["Julien-R44 <[email protected]>"]
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
terminal_size = "0.1.17"
colored = "2"
serde = { version = "1", features = ["derive"], optional = true }
clap = { version = "2.33.3", optional = true }
serde_json = { version = "1.0.1", optional = true }
csv = { version = "1.1", optional = true }
reqwest = { version = "0.11", features = ["blocking", "json"], optional = true }
[dev-dependencies]
reqwest = { version = "0.11", features = ["blocking", "json"] }
[features]
bin-app = ["serde", "serde_json", "csv", "clap"]
[[bin]]
name = "cli-candlestick-chart"
path = "src/bin/cli/main.rs"
required-features = ["bin-app"]
[[example]]
name = "basic-with-csv-parsing"
required-features = ["serde", "csv"]
[[example]]
name = "fetch-from-binance"
required-features = ["serde", "reqwest"]