Update README

This commit is contained in:
2022-10-24 14:41:57 +00:00
committed by GitHub
parent 528a72e43e
commit 43360e7a34

View File

@@ -7,7 +7,13 @@ A pixiv downloader written in Rust.
See [issues](https://github.com/lifegpc/pixiv_downloader/issues) or [projects](https://github.com/lifegpc/pixiv_downloader/projects)
## Rust features flags
### all
Enable all unconflicted features, this will enable [`exif`](#exif) and [`ugoira`](#ugoira).
Enable all unconflicted features, this will enable [`db_all`](#db_all), [`exif`](#exif) and [`ugoira`](#ugoira).
### db
Enable database support, at least one implement is needed.
### db_all
Enable database support with all implement. This will enable [`db`](#db) and [`db_sqlite`](#db_sqlite).
### db_sqlite
Enable database support with sqlite3.
### exif
Enable exif support.
#### Notice
@@ -18,3 +24,5 @@ Enable the feature that merge ugoira(GIF) pictures(ZIP file) to video files(MP4
#### Notice
* [libzip](https://libzip.org/) and [FFmpeg](https://ffmpeg.org/) is needed. If these libraries are not included in system library path. Make sure `CMAKE_PREFIX_PATH` and `PKG_CONFIG_PATH` are seted.
* FFmpeg library should be linked with [libX264](https://www.videolan.org/developers/x264.html). Other H.264 encoder may works.
## OpenSSL
Due to schannel not works so well, OpenSSL is needed on Windows system. You may need specify some environment variables to make sure OpenSSL is found. (See [openssl](https://lifegpc.github.io/pixiv_downloader/openssl/#manual) for more information.)