-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from epage/template
chore: Update from '_rust/main' template
- Loading branch information
Showing
5 changed files
with
192 additions
and
64 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
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
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
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
resolver = "2" | ||
|
||
[workspace.package] | ||
repository = "https://github.com/crate-ci/git-conventional" | ||
license = "MIT OR Apache-2.0" | ||
edition = "2021" | ||
rust-version = "1.74" # MSRV | ||
|
@@ -17,7 +18,7 @@ include = [ | |
] | ||
|
||
[workspace.lints.rust] | ||
rust_2018_idioms = "warn" | ||
rust_2018_idioms = { level = "warn", priority = -1 } | ||
unreachable_pub = "warn" | ||
unsafe_op_in_unsafe_fn = "warn" | ||
unused_lifetimes = "warn" | ||
|
@@ -51,15 +52,13 @@ inconsistent_struct_constructor = "warn" | |
inefficient_to_string = "warn" | ||
infinite_loop = "warn" | ||
invalid_upcast_comparisons = "warn" | ||
items_after_statements = "warn" | ||
large_digit_groups = "warn" | ||
large_stack_arrays = "warn" | ||
large_types_passed_by_value = "warn" | ||
let_and_return = "allow" # sometimes good to name what you are returning | ||
linkedlist = "warn" | ||
lossy_float_literal = "warn" | ||
macro_use_imports = "warn" | ||
match_wildcard_for_single_variants = "warn" | ||
mem_forget = "warn" | ||
mutex_integer = "warn" | ||
needless_continue = "warn" | ||
|
@@ -74,7 +73,6 @@ rest_pat_in_fully_bound_structs = "warn" | |
same_functions_in_if_condition = "warn" | ||
self_named_module_files = "warn" | ||
semicolon_if_nothing_returned = "warn" | ||
single_match_else = "warn" | ||
str_to_string = "warn" | ||
string_add = "warn" | ||
string_add_assign = "warn" | ||
|
@@ -93,10 +91,10 @@ description = "A parser library for the Conventional Commit specification." | |
authors = ["Ed Page <[email protected]>", "Jean Mertz <[email protected]>"] | ||
homepage = "https://github.com/crate-ci/git-conventional" | ||
documentation = "http://docs.rs/git-conventional/" | ||
repository = "https://github.com/crate-ci/git-conventional" | ||
readme = "README.md" | ||
categories = ["parser-implementations"] | ||
keywords = ["parser", "git", "conventional-commit", "commit", "conventional"] | ||
repository.workspace = true | ||
license.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
|
@@ -121,7 +119,7 @@ pre-release-replacements = [ | |
winnow = "0.6.0" | ||
unicase = "2.5" | ||
doc-comment = "0.3" | ||
serde = { version = "1.0", optional = true, features = ["derive"] } | ||
serde = { version = "1.0.163", optional = true, features = ["derive"] } | ||
|
||
[dev-dependencies] | ||
indoc = "2.0" | ||
|
Oops, something went wrong.