Create subproject oof, a thin argparsing lib

And added it to the same workspace
This commit is contained in:
João M. Bezerra 2021-04-04 00:19:00 -03:00
parent 3f97d7a699
commit 9fb48fd348
3 changed files with 22 additions and 3 deletions

View File

@ -4,14 +4,12 @@ version = "0.1.4"
authors = ["Vinícius Rodrigues Miguel <vrmiguel99@gmail.com>", "João M. Bezerra <marcospb19@hotmail.com>"]
edition = "2018"
readme = "README.md"
homepage = "https://github.com/vrmiguel/ouch"
repository = "https://github.com/vrmiguel/ouch"
license = "MIT"
keywords = ["decompression", "compression", "zip", "tar", "gzip"]
categories = ["command-line-utilities", "compression", "encoding"]
description = "A command-line utility for easily compressing and decompressing files and directories."
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
@ -24,8 +22,13 @@ bzip2 = "0.4.2"
flate2 = "1.0.14"
zip = "0.5.11"
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
[workspace]
members = [
".",
"oof",
]

9
oof/Cargo.toml Normal file
View File

@ -0,0 +1,9 @@
[package]
name = "oof"
version = "0.1.0"
authors = ["João M. Bezerra <marcospb19@hotmail.com>"]
edition = "2018"
description = "Ouch's argparsing library"
repository = "https://github.com/vrmiguel/ouch"
[dependencies]

7
oof/src/lib.rs Normal file
View File

@ -0,0 +1,7 @@
#[cfg(test)]
mod tests {
#[test]
fn it_works() {
assert_eq!(2 + 2, 4);
}
}