Skip to content

Commit

Permalink
Merge pull request #37 from sebastienrousseau/feat/libmake
Browse files Browse the repository at this point in the history
chore(libmake): ⬆️ v0.2.5
  • Loading branch information
sebastienrousseau authored Apr 4, 2024
2 parents 389a4df + 70d8f49 commit e6642c6
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ name = "libmake"
readme = "README.md"
repository = "https://github.com/sebastienrousseau/libmake.git"
rust-version = "1.75.0"
version = "0.2.4"
version = "0.2.5"
include = [
"/CONTRIBUTING.md",
"/LICENSE-APACHE",
Expand Down Expand Up @@ -67,7 +67,7 @@ rlg = "0.0.3"
serde = { version = "1.0.197", features = ["derive"] }
serde_ini = "0.2.0"
serde_json = "1.0.115"
serde_yml = "0.0.1"
serde_yml = "0.0.4"
tempfile = "3.10.1"
toml = "0.8.12"
uuid = { version = "1.8.0", features = ["v4"] }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,6 @@ providing a lot of useful suggestions on how to improve this project.
[crates-badge]: https://img.shields.io/crates/v/libmake.svg?style=for-the-badge "Crates.io Badge"
[divider]: https://kura.pro/common/images/elements/divider.svg "divider"
[docs-badge]: https://img.shields.io/docsrs/libmake.svg?style=for-the-badge "Docs.rs Badge"
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.4-orange.svg?style=for-the-badge "Lib.rs Badge"
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.5-orange.svg?style=for-the-badge "Lib.rs Badge"
[license-badge]: https://img.shields.io/crates/l/libmake.svg?style=for-the-badge "License Badge"
[made-with-rust-badge]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust "Made With Rust Badge"
4 changes: 2 additions & 2 deletions TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ alt="LibMake logo" width="261" align="right" />

<!-- markdownlint-enable MD033 MD041 -->

# LibMake v0.2.4 🦀
# LibMake v0.2.5 🦀

A code generator to reduce repetitive tasks and build high-quality Rust libraries.

Expand Down Expand Up @@ -64,6 +64,6 @@ The library is designed to be used as a command-line tool. It is available on [C
[codecov-badge]: https://img.shields.io/codecov/c/github/sebastienrousseau/libmake?style=for-the-badge&token=Q9KJ6XXL67 "Codecov Badge"
[crates-badge]: https://img.shields.io/crates/v/libmake.svg?style=for-the-badge "Crates.io Badge"
[docs-badge]: https://img.shields.io/docsrs/libmake.svg?style=for-the-badge "Docs.rs Badge"
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.4-orange.svg?style=for-the-badge "Lib.rs Badge"
[libs-badge]: https://img.shields.io/badge/lib.rs-v0.2.5-orange.svg?style=for-the-badge "Lib.rs Badge"
[license-badge]: https://img.shields.io/crates/l/libmake.svg?style=for-the-badge "License Badge"
[made-with-rust-badge]: https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust "Made With Rust Badge"
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn build() -> Result<ArgMatches, Error> {
create_arg_info("readme", Some("README.md"), "Sets the README file for the library", 'm', "readme", "README"),
create_arg_info("repository", Some("https://github.com/example/my_library"), "Sets the repository URL of the library", 'g', "repository", "REPOSITORY"),
create_arg_info("rustversion", Some("1.75.0"), "Sets the Rust version of the library", 'r', "rustversion", "RUSTVERSION"),
create_arg_info("version", Some("0.2.4"), "Sets the version of the library", 'v', "version", "VERSION"),
create_arg_info("version", Some("0.2.5"), "Sets the version of the library", 'v', "version", "VERSION"),
create_arg_info("website", Some("https://test.com"), "Sets the website of the library author", 'w', "website", "WEBSITE"),
];

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//!
//! [![Rust](https://img.shields.io/badge/rust-f04041?style=for-the-badge&labelColor=c0282d&logo=rust)](https://www.rust-lang.org)
//! [![Crates.io](https://img.shields.io/crates/v/libmake.svg?style=for-the-badge&color=success&labelColor=27A006)](https://crates.io/crates/libmake)
//! [![Lib.rs](https://img.shields.io/badge/lib.rs-v0.2.4-success.svg?style=for-the-badge&color=8A48FF&labelColor=6F36E4)](https://lib.rs/crates/libmake)
//! [![Lib.rs](https://img.shields.io/badge/lib.rs-v0.2.5-success.svg?style=for-the-badge&color=8A48FF&labelColor=6F36E4)](https://lib.rs/crates/libmake)
//! [![GitHub](https://img.shields.io/badge/github-555555?style=for-the-badge&labelColor=000000&logo=github)](https://github.com/sebastienrousseau/libmake)
//! [![License](https://img.shields.io/crates/l/libmake.svg?style=for-the-badge&color=007EC6&labelColor=03589B)](http://opensource.org/licenses/MIT)
//!
Expand Down
2 changes: 1 addition & 1 deletion template/Cargo.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ env_logger = "0.11.3"
rlg = "0.0.3"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.115"
serde_yml = "0.0.1"
serde_yml = "0.0.4"
toml = "0.8.12"
vrd = "0.0.6"

Expand Down
2 changes: 1 addition & 1 deletion tests/data/mylibrary.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
author,build,categories,description,documentation,edition,email,homepage,keywords,license,name,output,readme,repository,rustversion,version,website
Me,build.rs,"['category 1', 'category 2']",A library for doing things,https://lib.rs/crates/my_library,2021,[email protected],https://test.com,"['keyword1', 'keyword2']",MIT OR Apache-2.0,my_library,my_library,README.md,https://github.com/test/test,1.75.0,0.2.4,https://test.com
Me,build.rs,"['category 1', 'category 2']",A library for doing things,https://lib.rs/crates/my_library,2021,[email protected],https://test.com,"['keyword1', 'keyword2']",MIT OR Apache-2.0,my_library,my_library,README.md,https://github.com/test/test,1.75.0,0.2.5,https://test.com
2 changes: 1 addition & 1 deletion tests/data/mylibrary.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ output = "my_library"
readme = "README.md"
repository = "https://github.com/test/test"
rustversion = "1.75.0"
version = "0.2.4"
version = "0.2.5"
website = "https://test.com"
2 changes: 1 addition & 1 deletion tests/data/mylibrary.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"readme": "README.md",
"repository": "https://github.com/test/test",
"rustversion": "1.75.0",
"version": "0.2.4",
"version": "0.2.5",
"website": "https://test.com"
}
2 changes: 1 addition & 1 deletion tests/data/mylibrary.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ output = "my_library"
readme = "README.md"
repository = "https://github.com/test/test"
rustversion = "1.75.0"
version = "0.2.4"
version = "0.2.5"
website = "https://test.com"
2 changes: 1 addition & 1 deletion tests/data/mylibrary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ output: my_library
readme: README.md
repository: https://github.com/test/test
rustversion: '1.75.0'
version: '0.2.4'
version: '0.2.5'
website: https://test.com
2 changes: 1 addition & 1 deletion tests/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ mod tests {
);
assert_eq!(
get_csv_field(Some(file_path), 15),
Some(vec!["0.2.4".to_string()])
Some(vec!["0.2.5".to_string()])
);
assert_eq!(
get_csv_field(Some(file_path), 16),
Expand Down

0 comments on commit e6642c6

Please sign in to comment.