Skip to main content

Crate pavao_src

Crate pavao_src 

Source
Expand description

Builds the bundled Samba source used by Pavão’s vendored feature.

This crate is intended for build scripts. It clones the Samba release matching this crate’s version, configures the native build, and produces a static libsmbclient archive plus public headers.

§Examples

let artifacts = pavao_src::Build::new().build();
println!("cargo:rustc-link-search=native={}", artifacts.lib_dir.display());

Structs§

Artifacts
Artifacts produced by the build process.
Build
Configuration for compiling the bundled Samba source.

Functions§

version
Returns the bundled Samba version.