1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

/*! Windows support code. */

mod sdk;
#[cfg(target_family = "windows")]
pub use sdk::find_windows_sdk_current_arch_bin_path;
pub use sdk::target_arch_to_windows_sdk_platform_path;
mod signing;
pub use signing::{
    certificate_to_pfx, create_self_signed_code_signing_certificate,
    create_self_signed_code_signing_certificate_params, is_file_signable,
    is_signable_binary_header, FileBasedX509SigningCertificate, X509SigningCertificate,
};
mod signtool;
pub use signtool::{find_signtool, SigntoolSign};
mod util;
mod vc_redistributable;
pub use vc_redistributable::{
    find_visual_cpp_redistributable, VcRedistributablePlatform, VC_REDIST_ARM64, VC_REDIST_X64,
    VC_REDIST_X86,
};
mod vswhere;
pub use vswhere::find_vswhere;