Skip to content

cargo package downloads dev dependencies #2394

Closed
@retep998

Description

https://ci.appveyor.com/project/retep998/winapi-rs/build/1.0.717/job/h7ohqxbk9vjtrb7p

cargo package
   Packaging winapi v0.2.5 (file:///C:/projects/winapi-rs)
   Verifying winapi v0.2.5 (file:///C:/projects/winapi-rs)
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading winspool-sys v0.0.1
 Downloading dwrite-sys v0.2.0
 Downloading d3d9-sys v0.1.0
 Downloading d3d11-sys v0.1.0
 Downloading dsound-sys v0.0.1
 Downloading wevtapi-sys v0.0.1
 Downloading shlwapi-sys v0.0.1
 Downloading credui-sys v0.0.1
 Downloading advapi32-sys v0.2.0
 Downloading dwmapi-sys v0.1.0
 Downloading dxguid-sys v0.0.1
 Downloading psapi-sys v0.1.0
 Downloading crypt32-sys v0.2.0
 Downloading winhttp-sys v0.0.1
 Downloading winapi v0.2.5
 Downloading vssapi-sys v0.0.1
 Downloading ole32-sys v0.2.0
 Downloading odbc32-sys v0.0.1
 Downloading shell32-sys v0.1.1
 Downloading ktmw32-sys v0.1.0
 Downloading secur32-sys v0.2.0
 Downloading mpr-sys v0.1.0
 Downloading uuid-sys v0.1.2
 Downloading hid-sys v0.0.1
 Downloading d3dcompiler-sys v0.0.1
 Downloading ws2_32-sys v0.2.1
 Downloading kernel32-sys v0.2.1
 Downloading comdlg32-sys v0.0.1
 Downloading httpapi-sys v0.0.1
 Downloading gdi32-sys v0.2.0
 Downloading runtimeobject-sys v0.0.1
 Downloading oleaut32-sys v0.0.1
 Downloading d3d12-sys v0.0.1
 Downloading opengl32-sys v0.1.0
 Downloading netapi32-sys v0.0.1
 Downloading xinput-sys v0.0.1
 Downloading dxgi-sys v0.2.0
 Downloading d2d1-sys v0.0.1
 Downloading winmm-sys v0.2.0
 Downloading usp10-sys v0.0.1
 Downloading user32-sys v0.1.2
 Downloading winscard-sys v0.0.1
 Downloading setupapi-sys v0.0.1
 Downloading bcrypt-sys v0.0.1
 Downloading dbghelp-sys v0.2.0
 Downloading winapi-build v0.1.1
 Downloading comctl32-sys v0.0.1
   Compiling winapi v0.2.5 (file:///C:/projects/winapi-rs/target/package/winapi-0.2.5)

There's no need for it to be downloading those dev dependencies when doing cargo package.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions