Build the lib ``` rustc --crate-type=lib rary.rs ``` The command generates the file library.rlib ``` cargo package cargo publish ```