licenses.dev

once v0.3.4

This crate provides an assert_has_not_been_called! macro that panics if the surrounding function is called twice. Useful for initialization functions.

Published on

Licenses

Learn more about license information.

Package Licenses

Apache-2.0 OR MIT

Dependency Licenses

This package has no dependencies.
Last updated on

Copy the licenses badge code for the latest version:

[![licenses](https://licenses.dev/b/cargo/once)](https://licenses.dev/cargo/once)
<a href="https://licenses.dev/cargo/once">
  <img src="https://licenses.dev/b/cargo/once" alt="licenses" />
</a>

Or the licenses badge code for the 0.3.4 version:

[![licenses](https://licenses.dev/b/cargo/once/0.3.4)](https://licenses.dev/cargo/once/0.3.4)
<a href="https://licenses.dev/cargo/once/0.3.4">
  <img src="https://licenses.dev/b/cargo/once/0.3.4" alt="licenses" />
</a>
GitHub