Added 'src/main.rs'

This commit is contained in:
Hector PENG
2026-05-22 08:53:52 +08:00
parent a0f1e108b1
commit 0c5136d929
3 changed files with 15 additions and 1 deletions

5
.gitignore vendored
View File

@@ -4,3 +4,8 @@ Cargo.lock
/index.html
*.tar.gz
pdf
# Added by cargo
/target

6
Cargo.toml Normal file
View File

@@ -0,0 +1,6 @@
[package]
name = "rust-lang-zh_CN"
version = "0.1.0"
edition = "2024"
[dependencies]

View File

@@ -4,6 +4,7 @@ language = "zh"
src = "src"
title = "Yet another Chinese rust-lang book."
description = "又一本 rust-lang 书Yet another Chinese rust-lang book。"
mdbook_version = "0.4.29"
[preprocessor.last-changed]
command = "mdbook-last-changed"
@@ -18,10 +19,12 @@ git-repository-url = "https://github.com/gnu4cn/rust-lang-zh_CN"
git-repository-icon = "fa-github"
[output.html.print]
enable = false
enable = true
[output.html.search]
enable = false
[output.html.favicon]
png = true
[output.epub]