Files
velopack/Cargo.toml
2025-06-15 23:13:18 +01:00

107 lines
2.9 KiB
TOML

[workspace]
resolver = "2"
members = [
"src/bins",
"src/lib-rust",
"src/lib-nodejs/velopack_nodeffi",
"src/lib-cpp",
"src/lib-python",
]
exclude = [
"samples/RustIced",
]
[workspace.package]
version = "0.0.0-local"
authors = ["Velopack Ltd, Caelan Sayler <git@caesay.com>"]
homepage = "https://velopack.io"
repository = "https://github.com/velopack/velopack"
documentation = "https://docs.velopack.io"
description = "Installer and automatic update framework for cross-platform desktop applications"
keywords = ["update", "install", "velopack", "squirrel", "automatic-updates"]
categories = ["development-tools"]
license = "MIT"
edition = "2021"
rust-version = "1.75"
[workspace.dependencies]
velopack = { path = "src/lib-rust", features = ["file-logging"] }
log = "0.4"
log-derive = "0.4.1"
ureq = "3.0"
url = "2.5"
semver = "1.0"
xml = "0.8"
derivative = "2.2"
glob = "0.3"
serde = { version = "1.0", features = ["derive"] }
serde_json = { version = "1.0" }
zip = { version = "3.0", default-features = false, features = ["deflate"] }
thiserror = "2.0"
lazy_static = "1.5"
regex = "1.10"
normpath = "1.3"
bitflags = "2.9"
rand = "0.9"
zstd = "0.13"
async-std = "1.13"
anyhow = "1.0"
pretty-bytes-rust = "0.3"
simplelog = "0.12"
clap = "4.5"
chrono = "0.4"
wait-timeout = "0.2"
strum = { version = "0.27", features = ["derive"] }
simple-stopwatch = "0.1"
enum-flags = "0.4"
remove_dir_all = "1.0"
sha1 = "0.10"
sha2 = "0.10"
sha1_smol = "1.0"
time = "0.3"
os_info = "3.8"
neon = "1"
winres = "0.1"
tempfile = "3.9"
ntest = "0.9"
pretty_assertions = "1.4"
waitpid-any = "0.3"
dialog = "0.3"
libc = "0.2"
libloading = "0.8"
strsim = "0.11"
same-file = "1.0"
filelocksmith = "0.1"
image = { version = "0.25", default-features = false, features = ["gif", "jpeg", "png"] }
fs_extra = "1.3"
memmap2 = "0.9"
windows = "0.61"
webview2-com-sys = "0.37"
winsafe = { version = "0.0.20", features = ["gui"] }
cbindgen = "0.29"
log-panics = "2.1.0"
core-foundation = "0.10"
core-foundation-sys = "0.8"
uuid = { version = "1.13.1", features = ["v4", "fast-rng", "macro-diagnostics"] }
walkdir = "2.5"
rayon = "1.6"
progress-streams = "1.1"
flate2 = { version = "1.0", default-features = false }
pyo3 = { version = "0.25.0", features = ["extension-module", "macros", "abi3", "abi3-py37", "anyhow"] }
pyo3-build-config = "0.25.0"
pyo3-log = "0.12.4"
# mtzip = "=4.0.2"
# ripunzip = "=2.0.1"
# zerofrom = "=0.1.5"
# default to small, optimized workspace release binaries
[profile.release]
opt-level = "z" # optimize for size
lto = true # link-time optimization
debug = false # disable debug info
debug-assertions = false # disable debug assertions
overflow-checks = false # disable overflow checks
panic = "abort" # abort on panic
incremental = false # disable incremental compilation
codegen-units = 1 # compile all code into a single unit
rpath = false # disable rpath