Registry / utility / shared-library

shared-library

JSON →
library0.1.9rscratesunverified

Easily bind to and load shared libraries in Rust.

# Cargo.toml [dependencies] shared_library = "0.1.9"
INSTALL
IMPORT
SIG · SHARED-LIBRARY
S
shared-library
utilityrustv0.1.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SharedLibrary
use shared_library::SharedLibrary;

Opens the system's libc shared library and prints a confirmation.

use shared_library::SharedLibrary; let lib = SharedLibrary::open("libc.so.6").unwrap(); println!("Loaded library: {:?}", lib);
Debug
Known issues
gotchaPlatform-specific: library names and paths differ between OSes (e.g., .so vs .dylib vs .dll).
fix
Use conditional compilation or platform detection to specify correct library name.
affects: all
Upgrade
Version history
0.1.9latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
4
Amazon
1
Resources
shared-library — cargo add shared-library · libregistry