rust-factory

namerust-factory
created_at2022-08-28 08:59:15.558489
updated_at2022-09-20 16:28:10.390051
downloads223
descriptionLibrary for common factory boiler plates
homepage
repositoryhttps://gitlab.com/Larsbl00/rust-factory
max_upload_size
id653774

documentation

readme

# Rust Factory A library containing common boiler plates for [factory pattern](https://en.wikipedia.org/wiki/Factory_method_pattern) implementation. The library provides interfaces for the following: - A static factory method, requires no instantiation of the factory object. - An instance-bound factory method, binds the factory method to a particular instance. - A safe runtime factory, Allows for "safe" runtime factory methods. For example, allows the addition of new elements, without mutating any existing items. ## Features | Name | Description | Default | | :---- | :---------------------------------------------------------------------------- | :------ | | `std` | When enabled uses elements from the `std` crate. Otherwise finds a substitute | enabled | ## Examples For more information about how to use this library, refer to the [examples](./examples/) directory.
Commit count: 33

cargo fmt