-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
42 lines (34 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
41
42
[package]
name = "planturl"
version = "0.4.4"
edition = "2021"
authors = ["Micha Glave <coding@migmedia.de"]
license = "Apache-2.0 OR MIT AND Zlib"
categories = ["command-line-utilities", "development-tools", "visualization"]
keywords = ["graph", "plantuml"]
repository = "https://github.com/migmedia/planturl"
homepage = "https://github.com/migmedia/planturl"
description = """
A plantuml-file to server-url-encoder and downloader.
"""
[features]
build-binary = ["anyhow", "clap", "deflate", "reqwest"]
[lib]
path = "src/lib.rs"
[dependencies]
anyhow = { version = "1.0.86", optional = true }
clap = { version = "4.5.7", features = [ "derive" ], optional = true }
deflate = { version = "1.0.0", default-features = false, optional = true }
reqwest = { version = "0.12.4", features = ["blocking", "deflate", "brotli"], optional = true }
[dev-dependencies]
deflate = { version = "1", default-features = false }
[[bin]]
name = "planturl"
path = "src/bin/main.rs"
required-features = ["build-binary"]
[profile.release]
strip = "symbols"
[package.metadata.binstall]
pkg-url = "{ repo }/releases/download/v{ version }/planturl-{ target }-v{ version }.{ archive-format }"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"