| Crates.io | subversion |
| lib.rs | subversion |
| version | 0.0.8 |
| created_at | 2023-10-31 19:07:20.032089+00 |
| updated_at | 2024-09-26 21:36:41.839435+00 |
| description | Rust bindings for Subversion |
| homepage | https://github.com/jelmer/subversion-rs |
| repository | https://github.com/jelmer/subversion-rs.git |
| max_upload_size | |
| id | 1020282 |
| size | 303,995 |
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();