docs.rs failed to build apply_pub-0.0.2
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.
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.
apply-pub-rs
A Rust syntax extension for applying the pub
visibility modifer to many items at once.
Right now the attribute applies to every possible child AST element that could have public visibility, including:
use
static
fn
, both standalone and methods/associated onesmod
type
,struct
andenum
trait
- symbols in
extern {}
blocks.
Example
Add this to your Cargo.toml
:
[]
= "https://github.com/Kimundi/apply-pub-rs"
To load the extension and use it:
extern crate apply_pub;