Skip to content

Commit

Permalink
refactor: move core crate into subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
xtexChooser committed Jan 11, 2025
1 parent 694e33c commit cc9af4f
Show file tree
Hide file tree
Showing 17 changed files with 39 additions and 40 deletions.
40 changes: 1 addition & 39 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[workspace]
resolver = "2"
members = [
".",
"ciel/",
"cli/",
]

Expand All @@ -13,44 +13,6 @@ authors = ["liushuyu <[email protected]>", "xtex <[email protected]>"]
repository = "https://github.com/AOSC-Dev/ciel-rs"
edition = "2021"

[package]
name = "ciel"
version.workspace = true
description.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
edition.workspace = true

[dependencies]
zbus = { version = "^5", features = ["blocking"] }
nix = { version = "0.29", features = ["fs", "hostname", "mount", "signal", "user"] }
toml = "0.8"
bincode = "1.3"
serde = { version = "1.0", features = ["derive"] }
git2 = "0.19"
libmount = { git = "https://github.com/liushuyu/libmount", rev = "6fe8dba03a6404dfe1013995dd17af1c4e21c97b" }
adler32 = "1.2"
rayon = "1.10"
tempfile = "3.14"
libsystemd-sys = "0.9"
walkdir = "2"
xattr = "^1"
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"] }
time = { version = "0.3", default-features = false, features = ["serde-human-readable", "macros"] }
fs3 = "0.5"
ar = "0.9"
faster-hex = "0.10"
flate2 = "1.0"
inotify = "0.11"
zstd = "0.13.2"
thiserror = "2.0.8"
log = "0.4.22"
test-log = { version = "0.2.16", features = ["log"] }
sha2 = "0.10.8"
tar = "0.4.43"
xz2 = "0.1.7"

[profile.release]
lto = true

Expand Down
37 changes: 37 additions & 0 deletions ciel/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[package]
name = "ciel"
version.workspace = true
description.workspace = true
license.workspace = true
authors.workspace = true
repository.workspace = true
edition.workspace = true

[dependencies]
zbus = { version = "^5", features = ["blocking"] }
nix = { version = "0.29", features = ["fs", "hostname", "mount", "signal", "user"] }
toml = "0.8"
bincode = "1.3"
serde = { version = "1.0", features = ["derive"] }
git2 = "0.19"
libmount = { git = "https://github.com/liushuyu/libmount", rev = "6fe8dba03a6404dfe1013995dd17af1c4e21c97b" }
adler32 = "1.2"
rayon = "1.10"
tempfile = "3.14"
libsystemd-sys = "0.9"
walkdir = "2"
xattr = "^1"
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"] }
time = { version = "0.3", default-features = false, features = ["serde-human-readable", "macros"] }
fs3 = "0.5"
ar = "0.9"
faster-hex = "0.10"
flate2 = "1.0"
inotify = "0.11"
zstd = "0.13.2"
thiserror = "2.0.8"
log = "0.4.22"
test-log = { version = "0.2.16", features = ["log"] }
sha2 = "0.10.8"
tar = "0.4.43"
xz2 = "0.1.7"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ edition.workspace = true

[dependencies]
anyhow = "1.0.94"
ciel = { version = "4.0.0", path = ".." }
ciel = { version = "4.0.0", path = "../ciel" }
clap = { version = "^4", features = ["string", "env"] }
console = "0.15.10"
dialoguer = { version = "0.11.0", features = ["fuzzy-select"] }
Expand Down

0 comments on commit cc9af4f

Please sign in to comment.