8 releases

0.0.8 Sep 26, 2024
0.0.7 Sep 26, 2024
0.0.4 Apr 7, 2024
0.0.3 Nov 5, 2023
0.0.2 Oct 31, 2023

#5 in #svn

Download history 2/week @ 2024-07-01 155/week @ 2024-09-16 422/week @ 2024-09-23 108/week @ 2024-09-30 20/week @ 2024-10-07

705 downloads per month

Apache-2.0

275KB
7.5K SLoC

Subversion bindings for Rust

This rust crate provides idiomatic bindings for the Subversion C libraries.

At the moment, it only covers the "client" library but the aim is to support all of the public C API.

Example:

use subversion::client::CheckoutOptions;

let mut ctx = subversion::client::Context::new().unwrap();

ctx.checkout(
    "http://svn.apache.org/repos/asf/subversion/trunk/subversion/libsvn_client",
    std::path::Path::new("libsvn_client"),
    CheckoutOptions {
        peg_revision: Revision::Head,
        revision: Revision::Head,
        depth: Depth::Infinity,
        ..default::Default()
    }
)
.unwrap();

Dependencies

~0.3–4MB
~79K SLoC