mirror of
https://github.com/Dummi26/mers.git
synced 2026-01-15 23:22:46 +01:00
add configs/bundle_pure
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "mers"
|
||||
version = "0.8.12"
|
||||
version = "0.8.13"
|
||||
edition = "2021"
|
||||
license = "MIT OR Apache-2.0"
|
||||
description = "dynamically typed but type-checked programming language"
|
||||
@@ -11,7 +11,7 @@ repository = "https://github.com/Dummi26/mers"
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
mers_lib = "0.8.12"
|
||||
# mers_lib = { path = "../mers_lib" }
|
||||
# mers_lib = "0.8.13"
|
||||
mers_lib = { path = "../mers_lib" }
|
||||
clap = { version = "4.3.19", features = ["derive"] }
|
||||
colored = "2.1.0"
|
||||
|
||||
@@ -52,6 +52,7 @@ enum From {
|
||||
enum Configs {
|
||||
None,
|
||||
Base,
|
||||
Pure,
|
||||
Std,
|
||||
}
|
||||
|
||||
@@ -60,6 +61,7 @@ fn main() {
|
||||
let config = cfg_globals::add_general(match args.config {
|
||||
Configs::None => Config::new(),
|
||||
Configs::Base => Config::new().bundle_base(),
|
||||
Configs::Pure => Config::new().bundle_pure(),
|
||||
Configs::Std => Config::new().bundle_std(),
|
||||
});
|
||||
fn get_source(source: From) -> Source {
|
||||
|
||||
Reference in New Issue
Block a user