GSL 0.4.30

A rust binding for the GSL (the GNU scientific library)

rust-GSL Build Status Gitter

A Rust binding for the GSL library (the GNU Scientific Library).


This binding requires the GSL library library to be installed:

# on debian based systems:
sudo apt-get install libgsl0-dev

This crate works with Cargo and is on Just add the following to your Cargo.toml file:

GSL = "0.4"

Add the following line to your source code:

extern crate rgsl;


Just run cargo build. However, if you have issues with GSL version 2.x, try building it with:

cargo build --features v2

If a project depends on this version, don't forget to add in your Cargo.toml:

v2 = ["GSL/v2"]


You can access the rgsl documentation locally, just build it:

> cargo doc --open

Then open this file with an internet browser: file:///{rgsl_location}/target/doc/rgsl/index.html

You can also access the latest build of the documentation via the internet here.


rust-GSL is a wrapper for GSL, therefore inherits the GPL license.