subversion

Crates.iosubversion
lib.rssubversion
version0.0.8
sourcesrc
created_at2023-10-31 19:07:20.032089
updated_at2024-09-26 21:36:41.839435
descriptionRust bindings for Subversion
homepagehttps://github.com/jelmer/subversion-rs
repositoryhttps://github.com/jelmer/subversion-rs.git
max_upload_size
id1020282
size303,995
Jelmer Vernooij (jelmer)

documentation

https://docs.rs/subversion

README

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();
Commit count: 186

cargo fmt