pub trait Publishable {
    // Required method
    fn is_publishable(&self) -> bool;
}

Required Methods§

Implementations on Foreign Types§

source§

impl Publishable for Package

source§

fn is_publishable(&self) -> bool

Return true if the field publish in Cargo.toml:

  • is not []
  • is not false

Implementors§