aboutsummaryrefslogtreecommitdiff
path: root/server/tools/src/book_html.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-19 22:32:50 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-19 22:40:39 +0200
commit42752bf88f962d8ed9210846a7c17798ae03d6f2 (patch)
tree8ae3c1b2e2b08a775a638222a697ed4b0e618bad /server/tools/src/book_html.rs
parent402067b8317195fd2bc4ab4d92b5ace94fadb7c0 (diff)
downloadhurrycurry-42752bf88f962d8ed9210846a7c17798ae03d6f2.tar
hurrycurry-42752bf88f962d8ed9210846a7c17798ae03d6f2.tar.bz2
hurrycurry-42752bf88f962d8ed9210846a7c17798ae03d6f2.tar.zst
start book html
Diffstat (limited to 'server/tools/src/book_html.rs')
-rw-r--r--server/tools/src/book_html.rs24
1 files changed, 24 insertions, 0 deletions
diff --git a/server/tools/src/book_html.rs b/server/tools/src/book_html.rs
new file mode 100644
index 00000000..370f6901
--- /dev/null
+++ b/server/tools/src/book_html.rs
@@ -0,0 +1,24 @@
+/*
+ Hurry Curry! - a game about cooking
+ Copyright (C) 2025 Hurry Curry! Contributors
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, version 3 of the License only.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+*/
+
+use anyhow::Result;
+use hurrycurry_protocol::book::Book;
+
+pub fn render_html_book(book: Book) -> Result<()> {
+ Ok(())
+}