Cleanup Pub and Todo
This commit is contained in:
parent
cbff7ea169
commit
edd3d17be4
|
|
@ -1,49 +1,4 @@
|
|||
# Current Tools
|
||||
## TableGen
|
||||
|
||||
# Workspaces
|
||||
[~] Table
|
||||
[~] Cleanup
|
||||
[~] Config
|
||||
[~] Cleanup
|
||||
[x] Doc
|
||||
[~] Stats
|
||||
[~] Cleanup
|
||||
[~] Make
|
||||
[~] Cleanup
|
||||
[ ] Graphs
|
||||
[~] Cleanup
|
||||
[ ] Cli Parser
|
||||
[ ] Refactor
|
||||
[ ] Cleanup
|
||||
[ ] Doc
|
||||
|
||||
# Todo
|
||||
[ ] Auto path (by default)
|
||||
[ ] Document
|
||||
[ ] Remove most of the unneeded pub
|
||||
[ ] Update the dependencies
|
||||
[ ] Remove unneded dependencies
|
||||
[ ] Switch from anyhow to thiserror
|
||||
|
||||
## Tablegen
|
||||
[ ] Dissociate path from feature
|
||||
[ ] Force replace/ask
|
||||
[ ] Have interactive mode ?
|
||||
[ ] Dissociate Model from generation
|
||||
|
||||
## StatGen
|
||||
[ ] Get rid of cycle and have a struct that gives stats according to % and keeps tracks of %
|
||||
[ ] Test VecDeque
|
||||
[ ] Add testing
|
||||
[ ] Add the swap algo (swap a bad fit creature with another)
|
||||
[ ] Save/load states
|
||||
|
||||
## Test Units
|
||||
|
||||
|
||||
|
||||
# Futures tools
|
||||
# Future tools
|
||||
[ ] Lexer/Checker
|
||||
|
||||
## Lexer
|
||||
|
|
@ -59,7 +59,6 @@ pub struct ConfigArgs {
|
|||
#[derive(Deserialize)]
|
||||
/// The config struct, holding all runtime information
|
||||
pub struct Config {
|
||||
// TODO: Check this pub BS
|
||||
/// Config specific for the classes table generation
|
||||
pub classes: Classes,
|
||||
/// Config for all the tables
|
||||
|
|
@ -69,7 +68,6 @@ pub struct Config {
|
|||
#[derive(Deserialize)]
|
||||
/// The classes config
|
||||
pub struct Classes {
|
||||
// TODO: Check this pub BS
|
||||
/// The header string formatter
|
||||
pub header: String,
|
||||
/// The row string formatter
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ static STR_TO_GRAPH_TARGET_TYPE: phf::Map<&'static str, GraphTargetType> = phf_m
|
|||
};
|
||||
|
||||
/// Help listing all the actions availables
|
||||
pub static HELP_STR_TO_GRAPH: LazyLock<String> = LazyLock::new(|| {
|
||||
static HELP_STR_TO_GRAPH: LazyLock<String> = LazyLock::new(|| {
|
||||
let targets = STR_TO_GRAPH_TARGET_TYPE
|
||||
.keys()
|
||||
.map(|v| v.to_string())
|
||||
|
|
@ -50,7 +50,6 @@ pub static HELP_STR_TO_GRAPH: LazyLock<String> = LazyLock::new(|| {
|
|||
#[derive(Debug, Clone)]
|
||||
/// All target type
|
||||
pub enum GraphTargetType {
|
||||
// TODO: Check this pub BS
|
||||
/// Make all graphs
|
||||
Generate,
|
||||
/// Clean all graphs
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ static STR_TO_TARGET: phf::Map<&'static str, TableGenerationTarget> = phf_map! {
|
|||
};
|
||||
|
||||
/// A help of all the table targets to be built
|
||||
pub static HELP_STR_TO_TARGET_TABLES: LazyLock<String> = LazyLock::new(|| {
|
||||
static HELP_STR_TO_TARGET_TABLES: LazyLock<String> = LazyLock::new(|| {
|
||||
let mut targets = STR_TO_TARGET
|
||||
.keys()
|
||||
.map(|v| v.to_string())
|
||||
|
|
|
|||
|
|
@ -512,7 +512,7 @@ impl CharacCharMatrix {
|
|||
}
|
||||
|
||||
/// Load all the records in the csv
|
||||
pub fn load_stat_records<T>(filename: T, config: StatConfig) -> Result<CharacCharMatrix>
|
||||
pub(super) fn load_stat_records<T>(filename: T, config: StatConfig) -> Result<CharacCharMatrix>
|
||||
where
|
||||
T: AsRef<Path>,
|
||||
{
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ pub fn export_tsv(
|
|||
}
|
||||
|
||||
/// Replace all instances of unrepresentable utf8 or non escaped characters with latex ones
|
||||
pub fn make_latex_string(arg: &str) -> String {
|
||||
pub(super) fn make_latex_string(arg: &str) -> String {
|
||||
let res = arg
|
||||
.replace('🩸', "\\blood{}")
|
||||
.replace('⚡', "\\gauge{}")
|
||||
|
|
|
|||
Loading…
Reference in New Issue