Crate nitrolaunch

Crate nitrolaunch 

Source
Expand description

This is the library for Nitrolaunch and pretty much all of the features that the CLI uses.

Note: The asynchronous functions in this library expect the use of the Tokio runtime and may panic if it is not used

§Features

  • builder: Enable or disable the config builder system, which isn’t needed if you are just deserializing the standard config.
  • disable_profile_update_packages: A workaround for https://github.com/rust-lang/rust/issues/102211. If you are getting higher-ranked lifetime errors when running the update_profiles function, try enabling this. When enabled, the update_profiles function will no longer update packages at all.
  • schema: Enable generation of JSON schemas using the schemars crate

Re-exports§

pub use nitro_config as config_crate;
pub use nitro_core as core;
pub use nitro_net as net_crate;
pub use nitro_parse as parse;
pub use nitro_pkg as pkg_crate;
pub use nitro_plugin as plugin_crate;
pub use nitro_shared as shared;

Modules§

addon
Installable addons
config
Nitrolaunch configuration
instance
Launchable instances
io
File and data format input / output
pkg
Dealing with packages
plugin
Plugin-related things, like loading, configuration, and management/installation
profile
Configuration profiles for instances
util
Common utilities that can’t live anywhere else

Constants§

VERSION
The version of Nitrolaunch