diff --git a/Cargo.toml b/Cargo.toml index 1ab7210d..e3f4f49f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,59 @@ [workspace] members = [ - "crates/auxmos", - "crates/auxcleanup", - "crates/auxcallback", + "crates/*", ] +[package] +name = "auxmos" +version = "1.1.1" +authors = ["Putnam "] +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[features] +default = ["auxcleanup_gas_deletion", "turf_processing"] +auxcleanup_gas_deletion = ["auxcleanup"] +zas_hooks = [] +turf_processing = [] +equalization = ["turf_processing"] +monstermos = ["equalization"] +putnamos = ["equalization"] +katmos = ["equalization"] +reaction_hooks = [] +plasma_fire_hook = ["reaction_hooks"] +trit_fire_hook = ["reaction_hooks"] +fusion_hook = ["reaction_hooks"] +generic_fire_hook = ["reaction_hooks"] +all_reaction_hooks = ["fusion_hook", "trit_fire_hook", "plasma_fire_hook", "generic_fire_hook"] +explosive_decompression = ["monstermos"] +putnamos_decompression = ["putnamos"] + +[lib] +crate-type = ["cdylib"] + +[dependencies] +auxtools = { git = "https://github.com/willox/auxtools"} +auxcallback = { path = "./crates/auxcallback" } +auxcleanup = { path = "./crates/auxcleanup", optional = true} +itertools = "0.10.3" +rayon = "1.5.1" +float-ord = "0.3.2" +crossbeam = "0.8.1" +flume = "0.10.11" +parking_lot = "0.12.0" +fxhash = "0.2.1" +nonmax = "0.5.0" +ahash = "0.7.6" +lazy_static = "1.4.0" +indexmap = { version = "1.8.0", features = ["rayon"] } +dashmap = { version = "5.2.0", features = ["rayon"] } +atomic_float = "0.1.0" + +[dependencies.tinyvec] +version = "1.5.1" +features = ["rustc_1_55", "alloc"] + [profile.release] lto = 'fat' debug = true diff --git a/crates/auxmos/Cargo.toml b/crates/auxmos/Cargo.toml deleted file mode 100644 index d457c00c..00000000 --- a/crates/auxmos/Cargo.toml +++ /dev/null @@ -1,55 +0,0 @@ -[package] -name = "auxmos" -version = "1.1.1" -authors = ["Putnam "] -edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - -[features] -default = ["auxcleanup_gas_deletion", "turf_processing"] -auxcleanup_gas_deletion = ["auxcleanup"] -zas_hooks = [] -turf_processing = [] -equalization = ["turf_processing"] -monstermos = ["equalization"] -putnamos = ["equalization"] -katmos = ["equalization"] -reaction_hooks = [] -plasma_fire_hook = ["reaction_hooks"] -trit_fire_hook = ["reaction_hooks"] -fusion_hook = ["reaction_hooks"] -generic_fire_hook = ["reaction_hooks"] -all_reaction_hooks = ["fusion_hook", "trit_fire_hook", "plasma_fire_hook", "generic_fire_hook"] -explosive_decompression = ["monstermos"] -putnamos_decompression = ["putnamos"] - -[lib] -crate-type = ["cdylib"] - -[dependencies] -auxtools = { git = "https://github.com/willox/auxtools"} -auxcallback = { path = "./../auxcallback" } -auxcleanup = { path = "./../auxcleanup", optional = true} -itertools = "0.10.3" -rayon = "1.5.1" -float-ord = "0.3.2" -crossbeam = "0.8.1" -flume = "0.10.11" -parking_lot = "0.12.0" -fxhash = "0.2.1" -nonmax = "0.5.0" -ahash = "0.7.6" -lazy_static = "1.4.0" -indexmap = { version = "1.8.0", features = ["rayon"] } -dashmap = { version = "5.2.0", features = ["rayon"] } -atomic_float = "0.1.0" - -[dependencies.tinyvec] -version = "1.5.1" -features = ["rustc_1_55", "alloc"] - -[profile.release] -lto = 'thin' -debug = true -panic = 'abort' diff --git a/crates/auxmos/src/callbacks.rs b/src/callbacks.rs similarity index 100% rename from crates/auxmos/src/callbacks.rs rename to src/callbacks.rs diff --git a/crates/auxmos/src/gas.rs b/src/gas.rs similarity index 100% rename from crates/auxmos/src/gas.rs rename to src/gas.rs diff --git a/crates/auxmos/src/gas/constants.rs b/src/gas/constants.rs similarity index 100% rename from crates/auxmos/src/gas/constants.rs rename to src/gas/constants.rs diff --git a/crates/auxmos/src/gas/mixture.rs b/src/gas/mixture.rs similarity index 100% rename from crates/auxmos/src/gas/mixture.rs rename to src/gas/mixture.rs diff --git a/crates/auxmos/src/gas/types.rs b/src/gas/types.rs similarity index 100% rename from crates/auxmos/src/gas/types.rs rename to src/gas/types.rs diff --git a/crates/auxmos/src/lib.rs b/src/lib.rs similarity index 100% rename from crates/auxmos/src/lib.rs rename to src/lib.rs diff --git a/crates/auxmos/src/reaction.rs b/src/reaction.rs similarity index 100% rename from crates/auxmos/src/reaction.rs rename to src/reaction.rs diff --git a/crates/auxmos/src/reaction/hooks.rs b/src/reaction/hooks.rs similarity index 100% rename from crates/auxmos/src/reaction/hooks.rs rename to src/reaction/hooks.rs diff --git a/crates/auxmos/src/turfs.rs b/src/turfs.rs similarity index 100% rename from crates/auxmos/src/turfs.rs rename to src/turfs.rs diff --git a/crates/auxmos/src/turfs/katmos.rs b/src/turfs/katmos.rs similarity index 100% rename from crates/auxmos/src/turfs/katmos.rs rename to src/turfs/katmos.rs diff --git a/crates/auxmos/src/turfs/monstermos.rs b/src/turfs/monstermos.rs similarity index 100% rename from crates/auxmos/src/turfs/monstermos.rs rename to src/turfs/monstermos.rs diff --git a/crates/auxmos/src/turfs/processing.rs b/src/turfs/processing.rs similarity index 100% rename from crates/auxmos/src/turfs/processing.rs rename to src/turfs/processing.rs diff --git a/crates/auxmos/src/turfs/putnamos.rs b/src/turfs/putnamos.rs similarity index 100% rename from crates/auxmos/src/turfs/putnamos.rs rename to src/turfs/putnamos.rs