3 releases
Uses old Rust 2015
0.0.3 | Jul 23, 2019 |
---|---|
0.0.2 | Jul 23, 2019 |
0.0.1 | Jul 22, 2019 |
#820 in Unix APIs
350KB
6.5K
SLoC
GNOME Online Accounts
The Rust bindings for libgoa generated by GIR.
A simpler API is planed.
Usage
Install libgoa
-
Fedora
# dnf install gnome-online-accounts-devel
-
Debian and derived
# apt install libgoa-1.0-dev
Add the dependency
[dependencies]
goa = "0.0.3"
Generate and build from scratch
Install GIR.
git clone --recurse https://gitlab.gnome.org/World/Rust/libgoa-rs
cd libgoa-rs/goa-sys && gir # Generates the goa-sys crate
cd .. && gir # Generates the goa crate
cargo build
License
Either MIT or Apache 2.0, left to the user's choice.
lib.rs
:
GNOME Online Accounts
The Rust bindings for libgoa generated by GIR.
A simpler API is planed.
Usage
Install libgoa
-
Fedora
# dnf install gnome-online-accounts-devel
-
Debian and derived
# apt install libgoa-1.0-dev
Add the dependency
[dependencies]
goa = "0.0.3"
Generate and build from scratch
Install GIR.
git clone --recurse https://gitlab.gnome.org/World/Rust/libgoa-rs
cd libgoa-rs/goa-sys && gir # Generates the goa-sys crate
cd .. && gir # Generates the goa crate
cargo build
License
Either MIT or Apache 2.0, left to the user's choice.
Dependencies
~5MB
~121K SLoC