YoVDO

Cargo Meets Autotools - Distributing Rust Dynamic Libraries

Offered By: Rust via YouTube

Tags

Rust Courses Cargo Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a 23-minute conference talk from RustCon Asia 2019 that delves into integrating Cargo with Autotools for building and distributing dynamic libraries written in Rust. Learn how to overcome the limitations of cargo install for cdylib dynamic libraries by implementing a build infrastructure that combines the Rust toolchain with Autotools. Discover the process of creating a source tarball that allows users to easily build and install Rust-based dynamic libraries using familiar ./configure && make && make install commands. Gain insights into the speaker's experiences and find valuable information for the Rust community on topics such as Cargo.toml configuration, using libtool, setting options in configure.ac, and generating Windows installers with CPack.

Syllabus

Intro
OUTLINE OF THIS TALK
BACKGROUND
WHY DON'T YOU USE cargo install?
CARGO.TOML: A TALE OF TWO LIBS
SRC/INCLUDE.AM: LIBTOOL TO HELP
CONFIGURE.AC: SETTING OPTIONS Pass options to cargo and headers
BONUS: WINDOWS INSTALLER Generate an NSIS installer with CPack


Taught by

Rust

Related Courses

Rust for Programmers
Codecademy
Python and Rust with Linux Command Line Tools
Pragmatic AI Labs via edX
Rust Data Engineering
Pragmatic AI Labs via edX
Rust for DevOps
Pragmatic AI Labs via edX
Rust for Large Language Model Operations (LLMOps)
Pragmatic AI Labs via edX