pub fn publish(
    natives: impl IntoIterator<Item = (AccountAddress, Identifier, Identifier, NativeFunction)>,
    state: &OnDiskStateView,
    files: &[String],
    republish: bool,
    ignore_breaking_changes: bool,
    override_ordering: Option<&[String]>,
    named_address_mapping: BTreeMap<String, AddressBytes>,
    verbose: bool
) -> Result<()>