From a44fc0878c4de262d58108f5a5b2a7c10bbd6385 Mon Sep 17 00:00:00 2001 From: Simonas Kazlauskas Date: Thu, 11 Jan 2018 11:11:35 +0200 Subject: [PATCH] Prepare for the 0.5.0 release --- Cargo.toml | 2 +- README.mkd | 6 ------ src/changelog.rs | 16 +++++++++++++++- src/lib.rs | 2 +- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 24b7bf3..11fa74b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libloading" -version = "0.4.3" +version = "0.5.0" authors = ["Simonas Kazlauskas "] build = "build.rs" description = "A safer binding to platform’s dynamic library loading utilities" diff --git a/README.mkd b/README.mkd index 58f4ad5..da78158 100644 --- a/README.mkd +++ b/README.mkd @@ -19,9 +19,3 @@ functions and static variables these libraries contain. [changelog]: https://docs.rs/libloading/*/libloading/changelog/index.html libloading is distributed under ISC (MIT-like) license. - ---- - -Note, that this library is not a drop-in replacement for the deprecated `dynamic_lib`. Many -dubious APIs (notably, library search path modification) were prunned and string arguments -take types that match conventions and system APIs better. diff --git a/src/changelog.rs b/src/changelog.rs index fedec30..3e63f02 100644 --- a/src/changelog.rs +++ b/src/changelog.rs @@ -1,8 +1,22 @@ //! Project changelog +/// Release 0.5.0 (2018-01-11) +/// +/// * Update to `winapi = ^0.3`; +/// +/// ## Breaking changes +/// +/// * libloading now requires a C compiler to build on UNIX; +/// * This is a temporary measure until the [`linkage`] attribute is stablised; +/// * Necessary to resolve [#32]. +/// +/// [`linkage`]: https://github.com/rust-lang/rust/issues/29603 +/// [#32]: https://github.com/nagisa/rust_libloading/issues/32 +pub mod r0_5_0 {} + /// Release 0.4.3 (2017-12-07) /// -/// * Bump lazy-static dependency to `^1.0` +/// * Bump lazy-static dependency to `^1.0`; /// * `cargo test --release` now works when testing libloading. pub mod r0_4_3 {} diff --git a/src/lib.rs b/src/lib.rs index 648be55..75f5595 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -17,7 +17,7 @@ //! //! ```toml //! [dependencies] -//! libloading = "0.4" +//! libloading = "0.5" //! ``` //! //! Then inside your project