Crates.io | prefer-dynamic |
lib.rs | prefer-dynamic |
version | 0.1.2 |
source | src |
created_at | 2022-05-09 20:49:42.189402 |
updated_at | 2022-05-24 16:58:46.268793 |
description | Copies std and test dynamic libraries into your target directory, for -Cprefer-dynamic and dylib crates |
homepage | |
repository | https://github.com/WilliamVenner/prefer-dynamic |
max_upload_size | |
id | 583616 |
size | 16,860 |
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
.
Add to your Cargo.toml
[dependencies]
prefer-dynamic = "0"
[dev-dependencies]
prefer-dynamic = { version = "0", features = ["link-test"] }