diff options
| author | Fuwn <[email protected]> | 2022-03-07 21:31:37 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-07 21:31:37 +0000 |
| commit | 82b7e5f3b0f1bc8537e1fda97626cc704371aff8 (patch) | |
| tree | b78fd933e80a0dcd8a2b6d2f6d3ef7c15e0ae597 | |
| parent | refactor: file case (diff) | |
| download | api-worker-82b7e5f3b0f1bc8537e1fda97626cc704371aff8.tar.xz api-worker-82b7e5f3b0f1bc8537e1fda97626cc704371aff8.zip | |
chore(rust): update rust stuff
| -rw-r--r-- | Cargo.toml | 11 | ||||
| -rw-r--r-- | rust-toolchain.toml | 2 | ||||
| -rw-r--r-- | rustfmt.toml | 10 |
3 files changed, 13 insertions, 10 deletions
@@ -1,14 +1,17 @@ +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + [package] -name = "senpy-api" +name = "api-worker" version = "0.1.0" authors = ["Fuwn <[email protected]>"] edition = "2021" -#description = "" +description = "" readme = "README.md" -homepage = "https://github.com/senpy-club/api" -repository = "https://github.com/senpy-club/api" +homepage = "https://github.com/senpy-club/api-worker" +repository = "https://github.com/senpy-club/api-worker" license = "GPL-3.0-only" keywords = ["rust", "anime", "senpy"] +categories = [] publish = false [dependencies] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 09396e5..22a9829 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2021-12-04" +channel = "nightly-2022-02-22" diff --git a/rustfmt.toml b/rustfmt.toml index 6a5c54c..cdca26c 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,15 +1,15 @@ condense_wildcard_suffixes = true -edition = "2018" +edition = "2021" enum_discrim_align_threshold = 20 -error_on_line_overflow = true -error_on_unformatted = true +# error_on_line_overflow = true +# error_on_unformatted = true fn_single_line = true force_multiline_blocks = true format_code_in_doc_comments = true format_macro_matchers = true format_strings = true imports_layout = "HorizontalVertical" -license_template_path = ".license_template" +# license_template_path = ".license_template" match_arm_blocks = false imports_granularity = "Crate" newline_style = "Unix" @@ -19,7 +19,7 @@ reorder_impl_items = true group_imports = "StdExternalCrate" reorder_modules = true report_fixme = "Always" -#report_todo = "Always" +# report_todo = "Always" struct_field_align_threshold = 20 struct_lit_single_line = false tab_spaces = 2 |