mirror of
https://github.com/readest/readest.git
synced 2026-04-30 04:20:53 +00:00
chore: enforce prettier, ignore submodules and vendor files (#3018)
Some checks failed
Deploy to vercel on merge / build_and_deploy (push) Has been cancelled
Some checks failed
Deploy to vercel on merge / build_and_deploy (push) Has been cancelled
* chore: enforce prettier, ignore submodules and vendor files * chore: add format check in CI --------- Co-authored-by: Huang Xin <chrox.huang@gmail.com>
This commit is contained in:
parent
ea811c90c6
commit
d1d0d2d59c
15 changed files with 114 additions and 83 deletions
|
|
@ -12,28 +12,31 @@ This crate provides Windows Explorer thumbnail support for eBook files when Read
|
|||
|
||||
## Supported Formats
|
||||
|
||||
| Format | Extension | Cover Source |
|
||||
|--------|-----------|--------------|
|
||||
| EPUB | `.epub` | OPF manifest cover reference |
|
||||
| MOBI/AZW | `.mobi`, `.azw`, `.prc` | EXTH cover offset |
|
||||
| AZW3/KF8 | `.azw3`, `.kf8` | KF8 format cover |
|
||||
| FB2 | `.fb2` | `<binary>` coverpage element |
|
||||
| Comic Book | `.cbz`, `.cbr` | First image in archive |
|
||||
| Plain Text | `.txt` | Generated placeholder |
|
||||
| Format | Extension | Cover Source |
|
||||
| ---------- | ----------------------- | ---------------------------- |
|
||||
| EPUB | `.epub` | OPF manifest cover reference |
|
||||
| MOBI/AZW | `.mobi`, `.azw`, `.prc` | EXTH cover offset |
|
||||
| AZW3/KF8 | `.azw3`, `.kf8` | KF8 format cover |
|
||||
| FB2 | `.fb2` | `<binary>` coverpage element |
|
||||
| Comic Book | `.cbz`, `.cbr` | First image in archive |
|
||||
| Plain Text | `.txt` | Generated placeholder |
|
||||
|
||||
## Building
|
||||
|
||||
### Library Only
|
||||
|
||||
```bash
|
||||
cargo build --release
|
||||
```
|
||||
|
||||
### COM DLL (for Windows Explorer integration)
|
||||
|
||||
```bash
|
||||
cargo build --release --features com
|
||||
```
|
||||
|
||||
### CLI Tool
|
||||
|
||||
```bash
|
||||
cargo build --release --features cli
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue