[package] name = "mssf-core" version = "0.0.15" edition = "2021" license = "MIT" description = "Rust for Azure Service Fabric. Rust safe APIs." documentation = "https://learn.microsoft.com/en-us/azure/service-fabric/" repository = "https://github.com/Azure/service-fabric-rs" readme = "README.md" authors = ["youyuanwu@outlook.com"] include = [ "**/*.rs", "Cargo.toml", ] [features] default = ["config_source", "tokio_async", "bundled_libs"] # Required for a lot of callback functionality. # Also requires ctrlc for signal handling tokio_async = ["dep:tokio", "dep:tokio-util", "dep:ctrlc"] # Config crate required to implement its interface. config_source = ["dep:config"] bundled_libs = ["mssf-com/bundled_libs"] [dependencies] tracing.workspace = true tokio = { version = "1", features = ["sync" , "rt-multi-thread", "rt", "macros"], optional = true } tokio-util = { version = "0.7", optional = true } windows-core = "0.57" ctrlc = { version = "3", features = ["termination"], optional = true } trait-variant = "0.1" bitflags = "2" config = { version = "0.14", default-features = false, optional = true } [dev-dependencies] paste = "1" # need time for testing tokio = { version = "1", features = ["sync" , "rt-multi-thread", "rt", "macros", "time"] } [dependencies.windows] version = "0.57" features = [ "implement", "Win32_System_Com", "Win32_Foundation", "Win32_System_Kernel", # for debug api "Win32_System_Diagnostics_Debug_Extensions" ] [dependencies.mssf-com] path = "../com" version = "0.0.15" default-features = false