Skip to content

Unable to publish to crates.io with source replacement #10640

@Jzow

Description

@Jzow
[package]
name = "macros"
version = "1.0.0"
description = "mybatis macro driver 高性能Rust orM框架 宏系统支持"
readme = "Readme.md"
authors = ["James Zow <[email protected]>"]
edition = "2021"
license = "Apache"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = []
debug_mode = []
[lib]
proc-macro = true

[dependencies]
proc-macro2 = "1.0"
quote = "1.0"
syn = { version = "1.0", features = ["full"] }
html_parser = "0.6.2"
base64 = "0.13"
url = "2.2.2"

error::

macros git:(v-1.0.1) ✗ cargo publish --allow-dirty
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package:   /Users/jameszow/Documents/RustWorkSpace/summer-mybatis/mybatis-plus/Cargo.toml
workspace: /Users/jameszow/Documents/RustWorkSpace/summer-mybatis/Cargo.toml
    Updating `ustc` index
error: crates cannot be published to crates.io with dependencies sourced from other
registries. `base64` needs to be published to crates.io before publishing this crate.
(crate `base64` is pulled from registry `crates-io`)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions