refactor: split backup and alex into separate crate; set up workspace
This commit is contained in:
parent
d23227dd0b
commit
abafd9a28c
26 changed files with 1494 additions and 33 deletions
38
Cargo.toml
38
Cargo.toml
|
|
@ -1,26 +1,28 @@
|
|||
[package]
|
||||
name = "alex"
|
||||
version = "0.4.1"
|
||||
description = "Wrapper around Minecraft server processes, designed to complement Docker image installations."
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
'backup',
|
||||
'alex'
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.4.2"
|
||||
authors = ["Jef Roosens"]
|
||||
edition = "2021"
|
||||
|
||||
# [package]
|
||||
# name = "alex"
|
||||
# version = "0.4.1"
|
||||
# description = "Wrapper around Minecraft server processes, designed to complement Docker image installations."
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
# Used for creating tarballs for backups
|
||||
tar = "0.4.38"
|
||||
# Used to compress said tarballs using gzip
|
||||
flate2 = "1.0.26"
|
||||
[workspace.dependencies]
|
||||
chrono = { version = "0.4.26", features = ["serde"] }
|
||||
clap = { version = "4.3.1", features = ["derive", "env"] }
|
||||
signal-hook = "0.3.15"
|
||||
serde = { version = "1.0.164", features = ["derive"] }
|
||||
serde_json = "1.0.96"
|
||||
figment = { version = "0.10.10", features = ["env", "toml"] }
|
||||
|
||||
[profile.release]
|
||||
lto = "fat"
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
strip = true
|
||||
# [profile.release]
|
||||
# lto = "fat"
|
||||
# codegen-units = 1
|
||||
# panic = "abort"
|
||||
# strip = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue