init: initial commit of packager

This commit is contained in:
Didier Slof 2023-07-13 00:11:44 +02:00
commit 7964bb84fd
Signed by: didier
GPG key ID: 01E71F18AA4398E5
25 changed files with 478 additions and 0 deletions

22
bootpkg/src/prelude.rs Normal file
View file

@ -0,0 +1,22 @@
use std::collections::HashMap;
use manifest::Manifest;
pub struct PKGR {
pub bootstrap: Option<Bootstrap>,
}
pub struct Bootstrap {}
pub fn def_manifest() {
Manifest::<Option<PKGR>> {
package: manifest::package::Package::default(),
bin: None,
build: None,
dependencies: HashMap::default(),
fs: manifest::fs::FS {
config: None,
data: None,
},
pkgr: Some(PKGR { bootstrap: None }),
};
}