diff --git a/Cargo.toml b/Cargo.toml index dc1acf3..2b02c96 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,14 +4,12 @@ version = "0.1.4" authors = ["Vinícius Rodrigues Miguel ", "João M. Bezerra "] 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", +] diff --git a/oof/Cargo.toml b/oof/Cargo.toml new file mode 100644 index 0000000..c134bc3 --- /dev/null +++ b/oof/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "oof" +version = "0.1.0" +authors = ["João M. Bezerra "] +edition = "2018" +description = "Ouch's argparsing library" +repository = "https://github.com/vrmiguel/ouch" + +[dependencies] diff --git a/oof/src/lib.rs b/oof/src/lib.rs new file mode 100644 index 0000000..31e1bb2 --- /dev/null +++ b/oof/src/lib.rs @@ -0,0 +1,7 @@ +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +}