deepwoken 0.2.52

A library for interacting with Deepwoken data in a more convenient format, with a few added utilities.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub mod algos;
pub mod reqtree;
pub mod statmap;
pub mod traits;

#[cfg(feature = "fetch")]
pub mod datafetch;

/// Transforms the name of things in-game into an identifier/key for the `DeepData` maps
#[must_use]
pub fn name_to_identifier(s: &str) -> String {
    s.replace(' ', "_")
        .replace(['[', ']', '\'', ':', '(', ')', ','], "")
        .replace(['-'], "_")
        .to_lowercase()
}