Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/williamvenner/prefer-dynamic
- Owner: WilliamVenner
- License: other
- Created: 2022-05-09T20:48:45.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-24T16:58:33.000Z (over 2 years ago)
- Last Synced: 2024-10-11T11:33:17.826Z (3 months ago)
- Topics: cargo, dylib, dynamic, prefer-dynamic, rust
- Language: Rust
- Homepage: https://crates.io/crates/prefer-dynamic
- Size: 7.81 KB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
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"] }
```