winrm-rs 1.0.0

Async WinRM (WS-Management) client for Rust with NTLMv2, Basic, Kerberos, and Certificate authentication
Documentation
# 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 = "2024"
rust-version = "1.94.0"
name = "winrm-rs"
version = "1.0.0"
build = false
include = [
    "src/**/*.rs",
    "examples/**/*.rs",
    "tests/**/*.rs",
    "Cargo.toml",
    "LICENSE-MIT",
    "LICENSE-APACHE",
    "README.md",
    "CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async WinRM (WS-Management) client for Rust with NTLMv2, Basic, Kerberos, and Certificate authentication"
homepage = "https://github.com/muchiny/winrm-rs"
documentation = "https://docs.rs/winrm-rs"
readme = "README.md"
keywords = [
    "winrm",
    "windows",
    "remote-management",
    "ntlm",
    "kerberos",
]
categories = [
    "network-programming",
    "os::windows-apis",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/muchiny/winrm-rs"

[features]
__internal = []
credssp = [
    "dep:hyper",
    "dep:hyper-util",
    "dep:tokio-rustls",
    "dep:http-body-util",
    "dep:bytes",
    "dep:http",
    "dep:x509-cert",
    "dep:openssl",
]
default = []
kerberos = ["dep:cross-krb5"]

[lib]
name = "winrm_rs"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[test]]
name = "integration_real"
path = "tests/integration_real.rs"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1"
optional = true

[dependencies.cross-krb5]
version = "0.4"
optional = true

[dependencies.hmac]
version = "0.13"

[dependencies.http]
version = "1"
optional = true

[dependencies.http-body-util]
version = "0.1"
optional = true

[dependencies.hyper]
version = "1"
features = [
    "client",
    "http1",
]
optional = true

[dependencies.hyper-util]
version = "0.1"
features = ["tokio"]
optional = true

[dependencies.md-5]
version = "0.11"

[dependencies.md4]
version = "0.11"

[dependencies.openssl]
version = "0.10"
optional = true

[dependencies.rand]
version = "0.10"

[dependencies.reqwest]
version = "0.13"
features = [
    "rustls",
    "webpki-roots",
    "socks",
]
default-features = false

[dependencies.rustls]
version = "0.23"
features = ["ring"]

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "time",
    "macros",
]

[dependencies.tokio-rustls]
version = "0.26"
features = ["ring"]
optional = true
default-features = false

[dependencies.tokio-util]
version = "0.7.18"
features = ["rt"]

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dependencies.webpki-roots]
version = "1.0.6"

[dependencies.x509-cert]
version = "0.2"
optional = true

[dependencies.zeroize]
version = "1.8"

[dev-dependencies.serde_json]
version = "1"

[dev-dependencies.tokio]
version = "1"
features = [
    "full",
    "test-util",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dev-dependencies.tracing-test]
version = "0.2"

[dev-dependencies.wiremock]
version = "0.6"

[lints.clippy]
dbg_macro = "warn"
map_unwrap_or = "warn"
needless_raw_string_hashes = "warn"
todo = "warn"
unreadable_literal = "warn"

[lints.rust]
unreachable_pub = "warn"
unsafe_code = "forbid"