emotions 0.1.0

emotions from feelingswheel.com as a rust crate
Documentation
  • Coverage
  • 50%
    3 out of 6 items documented0 out of 3 items with examples
  • Size
  • Source code size: 25.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.5 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • abhillman/emotions-rs
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • abhillman

emotions-rs

Emotions from Feelings Wheel available as a rust crate.

Example usage

#[cfg(test)]
mod tests {
    use super::*;

    #[test]
    fn test_emotion_tree() {
        let tree = build_emotion_tree();
        assert_eq!(tree.name, "Emotions");
        assert_eq!(tree.children.len(), 7);
        assert_eq!(tree.nodes_at_depth(1).len(), 7);
    }
}