12 releases (7 breaking)

0.8.0 May 12, 2024
0.7.0 Nov 27, 2023
0.6.3 Oct 23, 2023
0.5.0 Jul 19, 2023
0.1.1 Oct 6, 2021

#5 in #minimum

47 downloads per month

MIT OR Apache-2.0 OR CC0-1.0

54MB
1M SLoC

Go 1M SLoC // 0.2% comments GNU Style Assembly 21K SLoC // 0.1% comments Shell 1.5K SLoC // 0.2% comments C 315 SLoC // 0.0% comments M4 161 SLoC Rust 81 SLoC BASH 79 SLoC // 0.1% comments Bazel 67 SLoC PowerShell 25 SLoC // 0.1% comments INI 9 SLoC Bitbake 2 SLoC

github crates.io docs.rs

Rust bindings for librclone.

Automatically compiles rclone as a library and links it into your Rust application.

Supports macOS and Linux. PR for Windows support welcome!

crate version rclone version MSRV Minimum go version
librclone = "0.8" v1.66.0 1.70 1.21
librclone = "0.7" v1.65.0 1.65 1.19
librclone = "0.6" v1.64.2 1.65 1.19
librclone = "0.5" v1.63.1 1.60 1.18
librclone = "0.4" v1.62.2 1.54 1.18
librclone = "0.3" v1.61.0 1.54 1.17
librclone = "0.2" v1.60.1 1.54 1.17
librclone = "0.1" v1.56.2 1.54 1.17

To generate updated go.mod and go.sum files on new rclone version:

cd librclone-sys
rm go.mod && rm go.sum
go mod init github.com/trevyn/librclone
go mod tidy -go=1.21

Dependencies