Using Individual Bracket-Lib Components
bracket-lib is a collection of libraries. You can depend upon them individually, if you only want part of the bracket-lib functionality. The parts are:
bracket-algorithm-traitsdefines some traits that are used in other parts of the program.bracket-colordefines how the library handles color, and includes functions for grayscale, RGB/RGBA/HSV conversion, a lot of named colors, and general color management support.bracket-geometryprovides points, lines, rectangles and circle support.bracket-noiseprovides Perlin, Simplex, White and other noise functions useful for randomly generating things.bracket-pathfindingprovides an A-Star and a Dijkstra mapping solution.bracket-randomprovides an easy-to-use wrapper to a random number generator.bracket-terminalprovides console rendering and support.
When you link directly to a dependency, the namespace is on longer bracket_lib::prelude. Instead, it will be the crate's name, e.g. bracket_random::prelude.
This option is partly provided to help keep development efforts separated, and partly because sometimes you just want a small portion of what the library has to offer---and there's no point in wasting space (and mostly compile time) on the bits you don't need.