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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
//! # Features
//! All features are enabled by default unless otherwise noted.
//! For most scenarios, you'll want the features. However, in some scenarios, such as:
//! - integrating Rust into an existing Service Fabric Application written in another language
//! - when you are using the lower-level COM API to do something more custom
//! You might not need all of the functionality that the mssf-core crate provides
//! In this case, you can configure only what you need to reduce dependencies and compile times.
//!
//! * ** config_source ** -
//! Provides an implementation of config::Source. Requires config_rs crate
//!
//! * ** Tokio ** -
//! A lot of the sophoisticated functionality in this crate requires Tokio.
//! However, even without tokio, some of the higher level wrappers over COM types have utility.
//!
//! # SF COM API Versions
//! The minimum supported SF version for mssf is 10.1. mssf can be used on newer versions of SF,
//! but some APIs are not available.
// lib that contains all common extensions for the raw fabric apis.
// SF lib entrypoint apis.
pub use API_TABLE;
pub use ;
// Rename the mssf_pal dependency
// This is needed because windows_core macro looks for the `windows_core` token.
extern crate mssf_pal as windows_core;
// re-export some windows types
pub use ;
// Note cannot re-export windows_core::implement because the macro using it has hard coded mod name.
/// Windows error type.
pub use Error as WinError;
pub use Result as WinResult;
/// Re-export async_trait for use in defining async traits in mssf-core
pub use async_trait;