#smb-client #samba #cifs

smbc

type-safe libsmbclient wrapper with std::fs-like interface

1 unstable release

Uses old Rust 2015

0.1.0 Dec 25, 2016

#5 in #samba

GPL-3.0+

24KB
363 lines

smbc -- libsmbclient wrapper

About

smbc is a type-safe wrapper library for libsmbclient from Samba project.

It use smbclient-sys crate for bindings to libsmbclient.

License

Licensed under GNU General Public License version 3 or any later version. It can be found at COPYING or at GNU site.


lib.rs:

smbc is wrapper around libsmbclient from Samba project

It provides basic std::fs-like API to access SMB/CIFS file shares

Primary entrypoint is SmbClient struct.

Files are represented by SmbFile.

Basic example:

fn load

Dependencies

~2MB
~40K SLoC