mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Rework solution structure to allow more types of library projects (#196)
* Rename avalonia & wpf samples * Rename rest of samples * fix sample readme * Fix compat util tests * rename / move all src projects * remove package lock files and move libC# again * Add rust lib and cargo workspace * Replace locksmith lib with new filelocksmith-rs library * Deprecated type * fix setup compile * Use thiserror for error handling * Rename some enums and formatting * Add missing SHA256 * wip c++ library * cpp wip * alphabetize readme * Try to get build working again * Fix some conditionally compiled bits * cross config should be in workspace root * Fix PathHelper for new rust target dir * Missed one old path to velopack.csproj * remove obsolete coverage code * testawareapp.exe no longer exists
This commit is contained in:
30
Cargo.toml
Normal file
30
Cargo.toml
Normal file
@@ -0,0 +1,30 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
"src/bins",
|
||||
"src/lib-rust",
|
||||
# "src/lib-cpp/generator"
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
authors = ["Caelan Sayler <git@caesay.com>"]
|
||||
homepage = "https://velopack.io"
|
||||
repository = "https://github.com/velopack/velopack"
|
||||
documentation = "https://docs.velopack.io"
|
||||
keywords = ["update", "install", "velopack", "squirrel", "automatic-updates"]
|
||||
categories = ["development-tools"]
|
||||
license = "MIT"
|
||||
edition = "2021"
|
||||
rust-version = "1.75"
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user