Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/williamvenner/prefer-dynamic

Copies std and test dynamic libraries into your target directory, for -Cprefer-dynamic and dylib crates
https://github.com/williamvenner/prefer-dynamic

cargo dylib dynamic prefer-dynamic rust

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

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`

```toml
[dependencies]
prefer-dynamic = "0"

[dev-dependencies]
prefer-dynamic = { version = "0", features = ["link-test"] }
```