about summary refs log tree commit diff stats
path: root/sys/nixpkgs/pkgs/yt/Cargo.toml
blob: 7c17d20baa5fc07abdee534e1c400cc6cd7fd00b (plain) (blame)
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
[package]
name = "yt"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
anyhow = "1.0.83"
clap = { version = "4.5.4", features = ["derive"] }
cli-log = "2.0.0"
log = "0.4.21"
serde = { version = "1.0.201", features = ["derive"] }
serde_json = "1.0.117"
tempfile = "3.10.1"
url = "2.5.0"

# This is here to be able to tell nix which binary to build
[features]
yts = []
ytc = []
yt = []
default = ["yt", "yts", "ytc"]

[[bin]]
name = "yts"
required-features = ["yts"]

[[bin]]
name = "ytc"
required-features = ["ytc"]

[[bin]]
name = "yt"
required-features = ["yt"]