-
-
Notifications
You must be signed in to change notification settings - Fork 34
Closed
Description
BundleConfiguration
is currently not pub use
ed (exported), so it is not exposed to the darklua_core library. Because of this, it seems inefficient because it can only be deserialized to Configuration as a string data type, like toml::from_str("bundle = { require_mode = 'path' }").unwrap()
.
If BundleConfiguration is exposed and accessible from external crates, it can be used like this:
let mut config = Configuration::empty();
if bundle {
config = config.with_bundle_configuration(BundleConfiguration::new(
BundleRequireMode::default(),
));
}
config = config.with_generator(GeneratorParameters::RetainLines);
Metadata
Metadata
Assignees
Labels
No labels