1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// Copyright (c) 2021 Xu Shaohua <shaohua@biofan.org>. All rights reserved.
// Use of this source is governed by General Public License that can be found
// in the LICENSE file.
//! # About
//! Pifu(aka 蚍蜉), is a cross platform package builder.
//!
//! ## Install
//! ```bash
//! cargo install pifu
//! ```
//!
//! ## Build dependencies
//! - exe: [nsis](https://nsis.sourceforge.io/)
//! - appimage: [appimagetool](https://github.com/AppImage/AppImageKit/releases), libc-bin (for `ldd`)
//! - rpm: rpm (for `rpmbuild` command)
//! - dmg: genisoimage (to generate dmg file), dmg2img (to test dmg file)
//!
//! ## Run dependencies
//! - appimage: glusterfs-client
//!
//! ## Related projects
//! - [nsis](https://nsis.sourceforge.io)
//! - [cargo bundle](https://github.com/burtonageo/cargo-bundle)
//! - [cargo deb](https://github.com/mmstick/cargo-deb)
//! - [electron builder](https://github.com/electron-userland/electron-builder)
//! - [fpm](https://github.com/jordansissel/fpm)
//! - [appimagekit](https://github.com/AppImage/appimagekit)
//! - [linuxdeploy](https://github.com/linuxdeploy/linuxdeploy)
//! - [linuxdeployqt](https://github.com/probonopd/linuxdeployqt)
//! - [appimage builder](https://github.com/AppImageCrafters/appimage-builder)
//! - [create dmg](https://github.com/create-dmg/create-dmg)
//! - [node appdmg](https://github.com/LinusU/node-appdmg)
//! - [dmgbuild](https://github.com/al45tair/dmgbuild)
//!
//! ## Misc
//! Linux desktop file can be validated by `desktop-file-validate` command,
//! which is included in `desktop-file-utils` package.
pub use read_cmdline;
pub use Error;