#dylib #cargo #target-directory #dynamic #copies #test #std

build prefer-dynamic

Copies std and test dynamic libraries into your target directory, for -Cprefer-dynamic and dylib crates

1 unstable release

0.1.2 May 24, 2022
0.1.1 May 10, 2022
0.1.0 May 9, 2022

#452 in Build Utils

Download history 12/week @ 2024-02-19 45/week @ 2024-02-26 4/week @ 2024-03-11 10/week @ 2024-03-18 41/week @ 2024-04-01 18/week @ 2024-04-08 16/week @ 2024-04-15

76 downloads per month

MIT/Apache

7KB
73 lines

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"] }

No runtime deps

~145KB