# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "msft-service" version = "0.0.24" authors = ["Thomas Chiantia "] description = "Windows service API" keywords = [ "Windows", "SCM", ] license = "MIT" [[bin]] name = "service" path = "src/bin/service.rs" required-features = ["bin"] [[bin]] name = "console" path = "src/bin/console.rs" required-features = ["bin"] [dependencies.bitflags] version = "2.4" [dependencies.crossbeam] version = "0.8" [dependencies.futures] version = "0.3" [dependencies.msft-service-macros] version = "0.0.24" [dependencies.num-derive] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.parking_lot] version = "0.12" [dependencies.pin-project-lite] version = "0.2" [dependencies.serde] version = "1" optional = true [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.32" features = ["full"] [dependencies.tracing] version = "0.1" [dependencies.tracing-appender] version = "0.2" optional = true [dependencies.tracing-subscriber] version = "0.3" features = [ "fmt", "chrono", "std", "env-filter", "registry", "time", ] optional = true [dependencies.win_etw_macros] version = "0.1.*" optional = true [dependencies.win_etw_provider] version = "0.1.*" optional = true [dependencies.win_etw_tracing] version = "0.1.*" optional = true [dev-dependencies.mockall] version = "0.12" [dev-dependencies.tokio-util] version = "0.7" features = ["codec"] [dev-dependencies.tracing-subscriber] version = "0.3" [dev-dependencies.trybuild] version = "1" [features] bin = [ "dep:tracing-appender", "dep:tracing-subscriber", "dep:win_etw_macros", "dep:win_etw_provider", "dep:win_etw_tracing", ] default = [] serde = ["dep:serde"] [target."cfg(windows)".dependencies.windows-sys] version = "0.52" features = [ "Win32_Foundation", "Win32_Graphics_Gdi", "Win32_Security", "Win32_Storage_FileSystem", "Win32_System_SystemInformation", "Win32_System_IO", "Win32_System_Kernel", "Win32_System_LibraryLoader", "Win32_System_Pipes", "Win32_System_Power", "Win32_System_Registry", "Win32_System_Rpc", "Win32_System_Services", "Win32_System_SystemServices", "Win32_System_Threading", "Win32_System_RemoteDesktop", "Win32_UI_WindowsAndMessaging", ]