Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
contained
Welcome to contained, a collection of macros and other utilities designed to facilitate the creation and manipulation of so-called wrapper types in Rust. Here, a wrapper type is essentially any object capable of implementing the #[repr(transparent)] attribute, such as newtypes, tuple structs, and single-field enums.
Usage
Before you start using contained, make sure to add it as a dependency in your Cargo.toml file. You can do this by adding the following lines:
[]
= [
"derive",
]
= "0.2.x"
Examples
For more detailed examples, please visit the examples directory in the repository. Below are some brief examples highlighting certain features of the library.
Example 1: Using the Wrapper derive macro
use Wrapper;
;
Example 2: Uisng the fmt_wrapper macro
use fmt_wrapper;
;
fmt_wrapper!
fmt_wrapper!
Getting Started
To get started with contained, you can check out the QUICKSTART.md file, which provides a step-by-step guide on how to set up your development environment and start using the library.
License
Licensed under the Apache License, Version 2.0
Contribution
Contributions are welcome, however, ensure that you have read the CONTRIBUTING.md file before submitting a pull request.
Security
For any security vulnerabilities, please refer to the SECURITY.md file for guidance on how to report them.