-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(rsjudge-utils): ♻️ make doctest type empty type
see <https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types>, enum with no varients is empty type
- Loading branch information
1 parent
b89b278
commit 84f04f1
Showing
2 changed files
with
9 additions
and
2 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 |
---|---|---|
|
@@ -87,7 +87,7 @@ changelog = "packaging/deb/changelog" | |
features = ["default"] | ||
conf-files = ["/etc/rsjudge/services.toml", "/etc/rsjudge/executors.toml"] | ||
extended-description = "An online judge sandbox server in Rust, inspired by go-judge, for SASTOJ." | ||
maintainer = "Xiaoqing Xuan <[email protected]>" | ||
maintainer = "JisuWoniu <[email protected]>" | ||
maintainer-scripts = "packaging/deb/" | ||
depends = "$auto, adduser, libc6, libgcc-s1, libstdc++6, libssl1.1, libzstd1, libzstd-dev" | ||
recommends = "gcc, g++, python3" | ||
|
@@ -115,30 +115,37 @@ mode = "644" | |
[[package.metadata.generate-rpm.assets]] | ||
source = "README.adoc" | ||
dest = "/usr/share/doc/rsjudge/README.adoc" | ||
mode = "644" | ||
|
||
[[package.metadata.generate-rpm.assets]] | ||
source = "target/assets/rsjudge.bash" | ||
dest = "/usr/share/bash-completion/completions/rsjudge" | ||
mode = "644" | ||
|
||
[[package.metadata.generate-rpm.assets]] | ||
source = "target/assets/_rsjudge" | ||
dest = "/usr/share/zsh/site-functions/_rsjudge" | ||
mode = "644" | ||
|
||
[[package.metadata.generate-rpm.assets]] | ||
source = "target/assets/rsjudge.fish" | ||
dest = "/usr/share/fish/vendor_completions.d/rsjudge.fish" | ||
mode = "644" | ||
|
||
[[package.metadata.generate-rpm.assets]] | ||
source = "packaging/shared/service" | ||
dest = "/usr/lib/systemd/system/rsjudge.service" | ||
mode = "644" | ||
|
||
[[package.metadata.generate-rpm.assets]] | ||
source = "packaging/shared/tmpfile" | ||
dest = "/usr/lib/tmpfiles.d/rsjudge.conf" | ||
mode = "644" | ||
|
||
[[package.metadata.generate-rpm.assets]] | ||
source = "packaging/shared/sysuser" | ||
dest = "/usr/lib/sysusers.d/rsjudge.conf" | ||
mode = "644" | ||
|
||
[dependencies] | ||
# Workspace dependencies | ||
|
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