-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (35 loc) · 1.22 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
[package]
name = "github-socialify-preview"
version = "1.0.0"
authors = ["Shayne Hartford <[email protected]>"]
edition = "2021"
description = "Upload GitHub repository Socialify preview images"
readme = "README.md"
repository = "https://github.com/ShayBox/GitHub-Socialify-Preview"
license = "MIT"
keywords = ["github", "socialify", "image"]
categories = ["command-line-utilities"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
derive-config = { version = "1", features = ["json"] }
headless_chrome = { version = "1", features = ["fetch"] }
reqwest = { version = "0.11", default-features = false, features = ["blocking"] }
serde = { version = "1", features = ["derive"] }
strum = { version = "0.26", features = ["derive"] }
[features]
default = ["rustls-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]
# https://github.com/johnthagen/min-sized-rust
[profile.release]
strip = true # Automatically strip symbols from the binary.
opt-level = "z" # Optimize for size.
lto = true
codegen-units = 1
panic = "abort"
[lints.clippy]
pedantic = "warn"
nursery = "warn"
cargo = "warn"