-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(libmake): 🎨 Tweaks to Cargo.toml
- Loading branch information
1 parent
4a00f24
commit 9b46fe2
Showing
3 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
[package] | ||
authors = ["Sebastien Rousseau <[email protected]>"] | ||
authors = ["LibMake Contributors"] | ||
categories = ['development-tools', 'command-line-utilities', 'template-engine'] | ||
description = "A code generator to reduce repetitive tasks and build high-quality Rust libraries." | ||
description = """ | ||
A code generator to reduce repetitive tasks and build high-quality Rust | ||
libraries and applications, by providing a simple interface to create | ||
projects, generate code, and manage dependencies. | ||
""" | ||
documentation = "https://docs.rs/libmake" | ||
edition = "2021" | ||
exclude = ["/.git/*", "/.github/*", "/.gitignore", "/.vscode/*"] | ||
homepage = "https://libmake.com" | ||
keywords = [ | ||
'code-generation', | ||
'generator', | ||
|
@@ -13,7 +20,7 @@ keywords = [ | |
license = "MIT OR Apache-2.0" | ||
name = "libmake" | ||
repository = "https://github.com/sebastienrousseau/libmake.git" | ||
rust-version = "1.71.1" | ||
rust-version = "1.75.0" | ||
version = "0.2.1" | ||
include = [ | ||
"/CONTRIBUTING.md", | ||
|
@@ -28,6 +35,12 @@ include = [ | |
"/tests/**", | ||
] | ||
|
||
[workspace] | ||
members = ["xtask"] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
||
[[bench]] | ||
name = "benchmark" | ||
harness = false | ||
|
@@ -61,13 +74,11 @@ predicates = "3.0.4" | |
crate-type = ["lib"] | ||
name = "libmake" | ||
path = "src/lib.rs" | ||
required-features = [] | ||
|
||
[features] | ||
default = [] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
||
[profile.dev] | ||
codegen-units = 256 | ||
debug = true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[package] | ||
name = "xtask" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[dependencies] | ||
anyhow = "1.0.79" | ||
xtaskops = "0.4.2" | ||
|
||
[[bin]] | ||
name = "xtask" | ||
path = "src/main.rs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
//! This is the main entry point for the xtask crate. | ||
//! | ||
//! The `main()` function serves as the starting point of the executable. | ||
//! It returns a `Result<(), anyhow::Error>`, indicating success or failure. | ||
//! The `xtaskops::tasks::main()` function is called to perform the main tasks. | ||
//! | ||
//! # Errors | ||
//! | ||
//! If an error occurs during the execution of the tasks, an `anyhow::Error` is returned. | ||
|
||
fn main() -> Result<(), anyhow::Error> { | ||
xtaskops::tasks::main() | ||
} |