f0dec135b9
* Implement symlinks
* Initfs only has links with absolute paths.
* Relative links are assumed to be relative to link location.
* Absolute paths must point into the archived location. E.g. if we
archive /home/foo/data and wish the resultant link to point to
/scheme/rand, then the absolute link must be
/home/foo/data/scheme/rand.
* Move archive_common to a crate within the workspace -- Rust doesn't
seem to accept #[path(..)] attributes with `..` segments anymore so
tests wouldn't build on my machine.
* Improve the test to assert complete filesystem structure.
* Bump to edition 2021
* cargo fmt & clippy
29 lines
668 B
TOML
29 lines
668 B
TOML
[package]
|
|
name = "redox-initfs-tools"
|
|
version = "0.2.0"
|
|
authors = ["4lDO2 <4lDO2@protonmail.com>", "Kamil Koczurek <koczurekk@gmail.com>"]
|
|
edition = "2021"
|
|
description = "Archive a directory into a Redox initfs image"
|
|
license = "MIT"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[[bin]]
|
|
name = "redox-initfs-ar"
|
|
path = "src/bin/archive.rs"
|
|
|
|
[[bin]]
|
|
name = "redox-initfs-dump"
|
|
path = "src/bin/dump.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
clap = {version = "4", features = ["cargo"]}
|
|
env_logger = "0.8"
|
|
log = "0.4"
|
|
plain = "0.2"
|
|
twox-hash = "1.6"
|
|
|
|
archive-common = {path = "../archive-common"}
|
|
redox-initfs = {path = ".."}
|