onlytypes 0.1.4

A library for creating types that can only be created by a certain function
Documentation
# Ignores whatever follows it


Useful for ignoring functions that are only used for testing
or impl blocks.

## Example


```rust
#[onlytypes::ignore]

fn foo() {
   // ...
}
```

Which is equivalent to:

```rust
#[cfg(not(feature = "only-types"))]

#[cfg_attr(feature = "only-types", doc = "This will be ignored by onlytypes.")]

fn foo() {
   // ...
}
```