libloading breaking changes
libloading 0.9.0 (November 5, 2025) is its newest release with breaking changes, 22 of them. The first: Removed libloading::Error::CreateCString. Every breaking API change we have recorded in libloading on crates.io: 36 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.9.1, released November 13, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
libloading 0.9.0 breaking changes
- Removed
libloading::Error::CreateCString
libloading::Error::CreateCString was removed in libloading 0.9.0 crates.io - Removed
libloading::Error::CreateCStringWithTrailing
libloading::Error::CreateCStringWithTrailing was removed in libloading 0.9.0 crates.io - Signature changed
libloading::Error::DlClose
Was DlClose {/// The source error. desc: DlDescription}; now DlClose {/// The source error. source: DlError}. crates.io - Signature changed
libloading::Error::DlOpen
Was DlOpen {/// The source error. desc: DlDescription}; now DlOpen {/// The source error. source: DlError}. crates.io - Signature changed
libloading::Error::DlSym
Was DlSym {/// The source error. desc: DlDescription}; now DlSym {/// The source error. source: DlError}. crates.io - Signature changed
libloading::library_filename
Was fn library_filename<S: AsRef<OsStr>>(name: S) -> OsString; now fn library_filename<S: AsRef<std::ffi::OsStr>>(name: S) -> std::ffi::OsString. crates.io - Signature changed
libloading::Library::get
Was unsafe fn get<T>(&self, symbol: &[u8]) -> Result<Symbol<'_, T>, Error>; now unsafe fn get<T>(&self, symbol: impl AsSymbolName) -> Result<Symbol<'_, T>, Error>. crates.io - Signature changed
libloading::Library::new
Was unsafe fn new<P: AsRef<OsStr>>(filename: P) -> Result<Library, Error>; now unsafe fn new(filename: impl AsFilename) -> Result<Library, Error>. crates.io - Signature changed
libloading::os::unix::Library::from_raw
Was unsafe fn from_raw(handle: *mut raw::c_void) -> Library; now unsafe fn from_raw(handle: *mut core::ffi::c_void) -> Library. crates.io - Signature changed
libloading::os::unix::Library::get
Was unsafe fn get<T>(&self, symbol: &[u8]) -> Result<Symbol<T>, crate::Error>; now unsafe fn get<T>(&self, symbol: impl AsSymbolName) -> Result<Symbol<T>, crate::Error>. crates.io - Signature changed
libloading::os::unix::Library::get_singlethreaded
Was unsafe fn get_singlethreaded<T>(&self, symbol: &[u8]) -> Result<Symbol<T>, crate::Error>; now unsafe fn get_singlethreaded<T>(&self, symbol: impl AsSymbolName) -> Result<Symbol<T>, crate::Error>. crates.io - Signature changed
libloading::os::unix::Library::into_raw
Was fn into_raw(self) -> *mut raw::c_void; now fn into_raw(self) -> *mut core::ffi::c_void. crates.io - Signature changed
libloading::os::unix::Library::new
Was unsafe fn new<P: AsRef<OsStr>>(filename: P) -> Result<Library, crate::Error>; now unsafe fn new(filename: impl AsFilename) -> Result<Library, crate::Error>. crates.io - Signature changed
libloading::os::unix::Library::open
Was unsafe fn open<P>(filename: Option<P>, flags: raw::c_int) -> Result<Library, crate::Error> where P: AsRef<OsStr>,; now unsafe fn open<P>(filename: Option<P>, flags: core::ffi::c_int) -> Result<Library, crate::Error> where P... crates.io - Signature changed
libloading::os::unix::Symbol::as_raw_ptr
Was fn as_raw_ptr(self) -> *mut raw::c_void; now fn as_raw_ptr(self) -> *mut core::ffi::c_void. crates.io - Signature changed
libloading::os::unix::Symbol::into_raw
Was fn into_raw(self) -> *mut raw::c_void; now fn into_raw(self) -> *mut core::ffi::c_void. crates.io - Signature changed
libloading::os::windows::Library::get
Was unsafe fn get<T>(&self, symbol: &[u8]) -> Result<Symbol<T>, crate::Error>; now unsafe fn get<T>(&self, symbol: impl AsSymbolName) -> Result<Symbol<T>, crate::Error>. crates.io - Signature changed
libloading::os::windows::Library::load_with_flags
Was unsafe fn load_with_flags<P: AsRef<OsStr>>(filename: P, flags: LOAD_LIBRARY_FLAGS) -> Result<Library, crate::Error>; now unsafe fn load_with_flags(filename: impl AsFilename, flags: LOAD_LIBRARY_FLAGS) -> Result<Library, crate::Error>. crates.io - Signature changed
libloading::os::windows::Library::new
Was unsafe fn new<P: AsRef<OsStr>>(filename: P) -> Result<Library, crate::Error>; now unsafe fn new(filename: impl AsFilename) -> Result<Library, crate::Error>. crates.io - Signature changed
libloading::os::windows::Library::open_already_loaded
Was fn open_already_loaded<P: AsRef<OsStr>>(filename: P) -> Result<Library, crate::Error>; now fn open_already_loaded(filename: impl AsFilename) -> Result<Library, crate::Error>. crates.io - Signature changed
libloading::os::windows::Symbol::as_raw_ptr
Was fn as_raw_ptr(self) -> *mut raw::c_void; now fn as_raw_ptr(self) -> *mut core::ffi::c_void. crates.io - Signature changed
libloading::Symbol::try_as_raw_ptr
Was unsafe fn try_as_raw_ptr(self) -> Option<*mut raw::c_void>; now unsafe fn try_as_raw_ptr(self) -> Option<*mut core::ffi::c_void>. crates.io
libloading 0.8.0 breaking changes
- Signature changed
libloading::os::windows::Library::get_ordinal
Was unsafe fn get_ordinal<T>(&self, ordinal: WORD) -> Result<Symbol<T>, crate::Error>; now unsafe fn get_ordinal<T>(&self, ordinal: u16) -> Result<Symbol<T>, crate::Error>. crates.io - Signature changed
libloading::os::windows::Library::load_with_flags
Was unsafe fn load_with_flags<P: AsRef<OsStr>>(filename: P, flags: DWORD) -> Result<Library, crate::Error>; now unsafe fn load_with_flags<P: AsRef<OsStr>>(filename: P, flags: LOAD_LIBRARY_FLAGS) -> Result<Library, crate::Error>. crates.io - Signature changed
libloading::os::windows::LOAD_IGNORE_CODE_AUTHZ_LEVEL
Was const LOAD_IGNORE_CODE_AUTHZ_LEVEL: DWORD; now const LOAD_IGNORE_CODE_AUTHZ_LEVEL: LOAD_LIBRARY_FLAGS. crates.io - Signature changed
libloading::os::windows::LOAD_LIBRARY_AS_DATAFILE
Was const LOAD_LIBRARY_AS_DATAFILE: DWORD; now const LOAD_LIBRARY_AS_DATAFILE: LOAD_LIBRARY_FLAGS. crates.io - Signature changed
libloading::os::windows::LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE
Was const LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE: DWORD; now const LOAD_LIBRARY_AS_DATAFILE_EXCLUSIVE: LOAD_LIBRARY_FLAGS. crates.io - Signature changed
libloading::os::windows::LOAD_LIBRARY_AS_IMAGE_RESOURCE
Was const LOAD_LIBRARY_AS_IMAGE_RESOURCE: DWORD; now const LOAD_LIBRARY_AS_IMAGE_RESOURCE: LOAD_LIBRARY_FLAGS. crates.io - Signature changed
libloading::os::windows::LOAD_LIBRARY_REQUIRE_SIGNED_TARGET
Was const LOAD_LIBRARY_REQUIRE_SIGNED_TARGET: DWORD; now const LOAD_LIBRARY_REQUIRE_SIGNED_TARGET: LOAD_LIBRARY_FLAGS. crates.io - Signature changed
libloading::os::windows::LOAD_LIBRARY_SAFE_CURRENT_DIRS
Was const LOAD_LIBRARY_SAFE_CURRENT_DIRS: DWORD; now const LOAD_LIBRARY_SAFE_CURRENT_DIRS: LOAD_LIBRARY_FLAGS. crates.io - Signature changed
libloading::os::windows::LOAD_LIBRARY_SEARCH_APPLICATION_DIR
Was const LOAD_LIBRARY_SEARCH_APPLICATION_DIR: DWORD; now const LOAD_LIBRARY_SEARCH_APPLICATION_DIR: LOAD_LIBRARY_FLAGS. crates.io - Signature changed
libloading::os::windows::LOAD_LIBRARY_SEARCH_DEFAULT_DIRS
Was const LOAD_LIBRARY_SEARCH_DEFAULT_DIRS: DWORD; now const LOAD_LIBRARY_SEARCH_DEFAULT_DIRS: LOAD_LIBRARY_FLAGS. crates.io
And 4 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.