-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
33fa66c
commit e43186d
Showing
4 changed files
with
44 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,43 +3,48 @@ name = "cargo-packager" | |
version = "0.10.2" | ||
description = "Executable packager and bundler distributed as a CLI and library." | ||
authors = [ | ||
"CrabNebula Ltd.", | ||
"Tauri Programme within The Commons Conservancy", | ||
"George Burton <[email protected]>" | ||
"CrabNebula Ltd.", | ||
"Tauri Programme within The Commons Conservancy", | ||
"George Burton <[email protected]>", | ||
] | ||
keywords = [ "bundle", "package", "cargo" ] | ||
keywords = ["bundle", "package", "cargo"] | ||
categories = [ | ||
"command-line-interface", | ||
"command-line-utilities", | ||
"development-tools::cargo-plugins", | ||
"development-tools::build-utils", | ||
"os" | ||
"command-line-interface", | ||
"command-line-utilities", | ||
"development-tools::cargo-plugins", | ||
"development-tools::build-utils", | ||
"os", | ||
] | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
repository = { workspace = true } | ||
|
||
[[bin]] | ||
name = "cargo-packager" | ||
# path = "src/bins/cli.rs" | ||
required-features = ["cli"] | ||
|
||
[package.metadata.docs.rs] | ||
rustdoc-args = [ "--cfg", "doc_cfg" ] | ||
rustdoc-args = ["--cfg", "doc_cfg"] | ||
default-target = "x86_64-unknown-linux-gnu" | ||
targets = [ | ||
"x86_64-pc-windows-msvc", | ||
"x86_64-unknown-linux-gnu", | ||
"x86_64-apple-darwin" | ||
"x86_64-pc-windows-msvc", | ||
"x86_64-unknown-linux-gnu", | ||
"x86_64-apple-darwin", | ||
] | ||
|
||
[lints.rust] | ||
# cfg(doc_cfg) is used for docs.rs detection. see above | ||
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } | ||
|
||
[features] | ||
default = [ "cli", "rustls-tls" ] | ||
cli = [ "clap", "dep:tracing-subscriber" ] | ||
schema = [ "schemars", "cargo-packager-utils/schema" ] | ||
clap = [ "dep:clap", "cargo-packager-utils/clap" ] | ||
native-tls = [ "ureq/native-tls" ] | ||
native-tls-vendored = [ "native-tls", "native-tls/vendored" ] | ||
rustls-tls = [ "ureq/tls" ] | ||
default = ["cli", "rustls-tls"] | ||
cli = ["clap", "dep:tracing-subscriber"] | ||
schema = ["schemars", "cargo-packager-utils/schema"] | ||
clap = ["dep:clap", "cargo-packager-utils/clap"] | ||
native-tls = ["ureq/native-tls"] | ||
native-tls-vendored = ["native-tls", "native-tls/vendored"] | ||
rustls-tls = ["ureq/tls"] | ||
|
||
[dependencies] | ||
thiserror = { workspace = true } | ||
|
@@ -49,16 +54,18 @@ dunce = { workspace = true } | |
dirs = { workspace = true } | ||
semver = { workspace = true } | ||
base64 = { workspace = true } | ||
clap = { workspace = true, optional = true, features = [ "env" ] } | ||
clap = { workspace = true, optional = true, features = ["env"] } | ||
tracing = { workspace = true } | ||
tracing-subscriber = { version = "0.3", optional = true, features = [ "env-filter" ] } | ||
tracing-subscriber = { version = "0.3", optional = true, features = [ | ||
"env-filter", | ||
] } | ||
toml = "0.8" | ||
cargo_metadata = "0.18" | ||
ureq = { version = "2.9", default-features = false } | ||
hex = "0.4" | ||
sha1 = "0.10" | ||
sha2 = "0.10" | ||
zip = { version = "0.6", default-features = false, features = [ "deflate" ] } | ||
zip = { version = "0.6", default-features = false, features = ["deflate"] } | ||
handlebars = "5.1" | ||
glob = "0.3" | ||
relative-path = "1.9" | ||
|
@@ -70,25 +77,24 @@ flate2 = "1.0" | |
strsim = "0.11" | ||
schemars = { workspace = true, optional = true } | ||
native-tls = { version = "0.2", optional = true } | ||
cargo-packager-utils = { version = "0.1.1", path = "../utils", features = [ "serde" ] } | ||
cargo-packager-utils = { version = "0.1.1", path = "../utils", features = [ | ||
"serde", | ||
] } | ||
icns = { package = "tauri-icns", version = "0.1" } | ||
time = { workspace = true, features = [ "formatting" ] } | ||
time = { workspace = true, features = ["formatting"] } | ||
image = "0.25" | ||
tempfile = "3" | ||
plist = "1" | ||
|
||
[target."cfg(target_os = \"windows\")".dependencies] | ||
winreg = "0.52" | ||
once_cell = "1.19" | ||
uuid = { version = "1", features = [ "v4", "v5" ] } | ||
uuid = { version = "1", features = ["v4", "v5"] } | ||
regex = "1.10" | ||
|
||
[target."cfg(target_os = \"windows\")".dependencies.windows-sys] | ||
version = "0.52" | ||
features = [ | ||
"Win32_System_SystemInformation", | ||
"Win32_System_Diagnostics_Debug" | ||
] | ||
[target."cfg(target_os = \"windows\")".dependencies.windows-sys] | ||
version = "0.52" | ||
features = ["Win32_System_SystemInformation", "Win32_System_Diagnostics_Debug"] | ||
|
||
[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"netbsd\", target_os = \"openbsd\"))".dependencies] | ||
image = "0.25" | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters