From 089c08af03849fb2883a17726462ca0d8ce8b51f Mon Sep 17 00:00:00 2001 From: Soispha Date: Sat, 20 Jan 2024 12:03:46 +0100 Subject: feat(sys/nixpkgs/pkgs/yt): Merge ytc and the rewritten ytc --- sys/nixpkgs/pkgs/yt/Cargo.toml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 sys/nixpkgs/pkgs/yt/Cargo.toml (limited to 'sys/nixpkgs/pkgs/yt/Cargo.toml') diff --git a/sys/nixpkgs/pkgs/yt/Cargo.toml b/sys/nixpkgs/pkgs/yt/Cargo.toml new file mode 100644 index 00000000..faad6699 --- /dev/null +++ b/sys/nixpkgs/pkgs/yt/Cargo.toml @@ -0,0 +1,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.79" +clap = { version = "4.4.13", features = ["derive"] } +cli-log = "2.0.0" +log = "0.4.20" +serde = { version = "1.0.195", features = ["derive"] } +serde_json = "1.0.111" +tempfile = "3.9.0" +url = "2.5.0" + +# This is here to be able to tell nix which binary to build +[features] +yts = [] +ytc = [] +yt = [] +default = ["yt"] + +[[bin]] +name = "yts" +required-features = ["yts"] + +[[bin]] +name = "ytc" +required-features = ["ytc"] + +[[bin]] +name = "yt" +required-features = ["yt"] -- cgit 1.4.1