-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (42 loc) · 1.54 KB
/
Cargo.toml
File metadata and controls
47 lines (42 loc) · 1.54 KB
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
[package]
name = "pkgsite-tools"
version = "0.8.2"
edition = "2024"
license = "MIT"
authors = ["Kaiyang Wu <origincode@aosc.io>"]
description = "Get package information from packages.aosc.io"
repository = "https://github.com/AOSC-Dev/pkgsite-tools"
homepage = "https://github.com/AOSC-Dev/pkgsite-tools"
[dependencies]
anyhow = "1"
tokio = { version = "1", features = ["rt-multi-thread", "macros"], optional = true }
compio = { version = "0.18", features = ["macros"], optional = true }
io-uring = { version = "0.7.6", optional = true }
clap = { version = "4", features = ["derive"], optional = true }
argh = { version = "0.1.13", optional = true }
itertools = "0.14"
console = "0.16"
regex = "1.11"
html-escape = "0.2"
time = { version = "0.3", features = ["formatting"] }
tabled = { version = "0.20", features = ["ansi"] }
nyquest-preset = { version = "0.4", features = ["async"], optional = true }
pkgsite-lib = { path = "./pkgsite-lib", default-features = false }
[build-dependencies]
clap = { version = "4", features = ["derive"], optional = true }
clap_complete = { version = "4", optional = true }
[[bin]]
name = "pkgsite"
path = "src/main.rs"
[features]
default = ["reqwest", "tokio", "clap"]
minimal = ["nyquest", "compio", "argh"]
reqwest = ["pkgsite-lib/reqwest", "pkgsite-lib/native-tls", "tokio"]
nyquest = ["pkgsite-lib/nyquest", "dep:nyquest-preset"]
clap = ["dep:clap", "dep:clap_complete"]
argh = ["dep:argh"]
tokio = ["dep:tokio"]
compio = ["dep:compio"]
io-uring-bindgen = ["dep:io-uring", "io-uring/bindgen"]
[workspace]
members = ["pkgsite-lib"]