arg_attr
Specify the accepted arguments depending on configuration conditional checks.
Examples
Simple yet silly example:
use args;
In the example above, args attribute unconditionally specifies the arguments for the silly_drop function. On it's own it is fairly useless, but it can be used in combination with #[cfg_attr(...)] for conditional compilation.
use Python;
use qualifiers;
use args;
// At the moment of writing, `pyo3` does not support async functions.
// https://github.com/PyO3/pyo3/issues/1632