summary refs log tree commit diff stats
path: root/pkgs/by-name/ba/back/Cargo.toml
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-23 18:29:35 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-12-23 18:29:35 +0100
commit4bcadcd2244989a8bb7d8dffdaf11f131b96c8ff (patch)
treea081c1c4216f4d1517940c2bc92dc7d8b3e15bb9 /pkgs/by-name/ba/back/Cargo.toml
parentfix(modules/disko): Remove deprecated legacy type and migrate to `by-name` (diff)
downloadnixos-server-4bcadcd2244989a8bb7d8dffdaf11f131b96c8ff.tar.gz
nixos-server-4bcadcd2244989a8bb7d8dffdaf11f131b96c8ff.zip
feat(pkgs/back): Init
Other options, for example `git-bug webui --read-only` is just to bugged
to be useful.
Diffstat (limited to 'pkgs/by-name/ba/back/Cargo.toml')
-rw-r--r--pkgs/by-name/ba/back/Cargo.toml90
1 files changed, 90 insertions, 0 deletions
diff --git a/pkgs/by-name/ba/back/Cargo.toml b/pkgs/by-name/ba/back/Cargo.toml
new file mode 100644
index 0000000..3e81ec8
--- /dev/null
+++ b/pkgs/by-name/ba/back/Cargo.toml
@@ -0,0 +1,90 @@
+# Back - An extremely simple git issue tracking system. Inspired by tvix's
+# panettone
+#
+# Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
+# This file is part of Back.
+#
+# You should have received a copy of the License along with this program.
+# If not, see <https://www.gnu.org/licenses/agpl.txt>.
+
+[package]
+name = "back"
+description = "An extremely simple git issue tracking system. Inspired by tvix's panettone"
+version = "0.1.0"
+edition = "2021"
+license = "AGPL-3.0-or-later"
+# TODO
+# categories = [""]
+# keywords = ["", ""]
+
+
+# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
+[dependencies]
+chrono = "0.4.39"
+gix = "0.69.1"
+markdown = "1.0.0-alpha.21"
+rocket = "0.5.1"
+serde = "1.0.216"
+serde_json = "1.0.134"
+
+[profile.release]
+lto = true
+codegen-units = 1
+panic = "abort"
+split-debuginfo = "off"
+
+[workspace.lints.rust]
+# rustc lint groups https://doc.rust-lang.org/rustc/lints/groups.html
+warnings = "warn"
+future_incompatible = { level = "warn", priority = -1 }
+let_underscore = { level = "warn", priority = -1 }
+nonstandard_style = { level = "warn", priority = -1 }
+rust_2018_compatibility = { level = "warn", priority = -1 }
+rust_2018_idioms = { level = "warn", priority = -1 }
+rust_2021_compatibility = { level = "warn", priority = -1 }
+unused = { level = "warn", priority = -1 }
+
+# rustc allowed-by-default lints https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html
+# missing_docs = "warn"
+macro_use_extern_crate = "warn"
+meta_variable_misuse = "warn"
+missing_abi = "warn"
+missing_copy_implementations = "warn"
+missing_debug_implementations = "warn"
+non_ascii_idents = "warn"
+noop_method_call = "warn"
+single_use_lifetimes = "warn"
+trivial_casts = "warn"
+trivial_numeric_casts = "warn"
+unreachable_pub = "warn"
+unsafe_op_in_unsafe_fn = "warn"
+unused_crate_dependencies = "warn"
+unused_import_braces = "warn"
+unused_lifetimes = "warn"
+unused_qualifications = "warn"
+variant_size_differences = "warn"
+
+[workspace.lints.rustdoc]
+# rustdoc lints https://doc.rust-lang.org/rustdoc/lints.html
+broken_intra_doc_links = "warn"
+private_intra_doc_links = "warn"
+missing_crate_level_docs = "warn"
+private_doc_tests = "warn"
+invalid_codeblock_attributes = "warn"
+invalid_rust_codeblocks = "warn"
+bare_urls = "warn"
+
+[workspace.lints.clippy]
+# clippy allowed by default
+dbg_macro = "warn"
+
+# clippy categories https://doc.rust-lang.org/clippy/
+all = { level = "warn", priority = -1 }
+correctness = { level = "warn", priority = -1 }
+suspicious = { level = "warn", priority = -1 }
+style = { level = "warn", priority = -1 }
+complexity = { level = "warn", priority = -1 }
+perf = { level = "warn", priority = -1 }
+pedantic = { level = "warn", priority = -1 }