Created workspace and moved existing crate into zbuild-legacy.

This commit is contained in:
Filipe Rodrigues 2024-12-14 07:33:00 +00:00
parent 6778fdcb86
commit 550db58218
Signed by: zenithsiz
SSH Key Fingerprint: SHA256:Mb5ppb3Sh7IarBO/sBTXLHbYEOz37hJAlslLQPPAPaU
38 changed files with 46 additions and 38 deletions

View File

@ -1,40 +1,9 @@
[package]
authors = ["Filipe Rodrigues <filipejacintorodrigues1@gmail.com>"]
edition = "2018"
name = "zutil"
version = "0.1.0"
[workspace]
[dependencies]
members = ["zutil-legacy"]
resolver = "2"
# Util
arrayref = "0.3.6"
ascii = {version = "1.0.0"}
derive_more = "0.99.14"
either = "1.6.1"
int-conv = "0.1.4"
sealed = "0.3.0"
[workspace.dependencies]
# Serde
serde = {version = "1.0.120", features = ["derive"], optional = true}
# Derives
ref-cast = "1.0.6"
thiserror = "1.0.23"
# Futures
futures = {version = "0.3.15", optional = true}
# Logging
log = "0.4.14"
# Gui
eframe = {git = "https://github.com/emilk/egui", rev = "7c5a2d60", optional = true}
# Alert
native-dialog = {version = "0.5.5", optional = true}
[features]
alert = ["native-dialog"]
gui = ["eframe"]
use_futures = ["futures"]
use_serde = ["serde", "ascii/serde"]
# Workspace members
zutil-legacy = { path = "zutil-legacy" }

40
zutil-legacy/Cargo.toml Normal file
View File

@ -0,0 +1,40 @@
[package]
authors = ["Filipe Rodrigues <filipejacintorodrigues1@gmail.com>"]
edition = "2018"
name = "zutil-legacy"
version = "0.1.0"
[dependencies]
# Util
arrayref = "0.3.6"
ascii = { version = "1.0.0" }
derive_more = "0.99.14"
either = "1.6.1"
int-conv = "0.1.4"
sealed = "0.3.0"
# Serde
serde = { version = "1.0.120", features = ["derive"], optional = true }
# Derives
ref-cast = "1.0.6"
thiserror = "1.0.23"
# Futures
futures = { version = "0.3.15", optional = true }
# Logging
log = "0.4.14"
# Gui
eframe = { git = "https://github.com/emilk/egui", rev = "7c5a2d60", optional = true }
# Alert
native-dialog = { version = "0.5.5", optional = true }
[features]
alert = ["native-dialog"]
gui = ["eframe"]
use_futures = ["futures"]
use_serde = ["serde", "ascii/serde"]

View File

@ -21,7 +21,6 @@
fn_traits,
decl_macro,
array_methods,
str_internals,
auto_traits,
negative_impls,
try_trait_v2,