prefer-dynamic

Crates.ioprefer-dynamic
lib.rsprefer-dynamic
version0.1.2
sourcesrc
created_at2022-05-09 20:49:42.189402
updated_at2022-05-24 16:58:46.268793
descriptionCopies std and test dynamic libraries into your target directory, for -Cprefer-dynamic and dylib crates
homepage
repositoryhttps://github.com/WilliamVenner/prefer-dynamic
max_upload_size
id583616
size16,860
William (WilliamVenner)

documentation

README

prefer-dynamic

Simple Rust crate that copies the std and test dynamic libraries into the target directory at build time.

This is a convenience intended for programs that make use of dylib crates or compiling with -Cprefer-dynamic.

Usage

Add to your Cargo.toml

[dependencies]
prefer-dynamic = "0"

[dev-dependencies]
prefer-dynamic = { version = "0", features = ["link-test"] }
Commit count: 3

cargo fmt