smb 0.11.2

A Pure Rust SMB Client implementation
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.89.0"
name = "smb"
version = "0.11.2"
authors = ["Aviv N <avivnaaman04@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Pure Rust SMB Client implementation"
readme = "README.md"
keywords = [
    "smb",
    "network",
    "file-sharing",
    "windows",
]
categories = [
    "network-programming",
    "parsing",
    "filesystem",
]
license = "MIT"
repository = "https://github.com/afiffon/smb-rs"
resolver = "2"

[package.metadata.docs.rs]
features = [
    "async",
    "sign",
    "encrypt",
    "compress",
    "kerberos",
    "quic",
]
no-default-features = true

[features]
__debug-dump-keys = []
__encrypt_core = []
__is_sync = [
    "maybe-async/is_sync",
    "smb-rpc/is_sync",
    "reqwest?/blocking",
    "smb-transport/is_sync",
]
async = [
    "dep:tokio",
    "dep:futures-core",
    "dep:futures",
    "dep:tokio-util",
    "dep:tokio-stream",
    "dep:futures-util",
    "smb-transport/async",
]
compress = [
    "compress_pattern_v1",
    "compress_lz4",
]
compress_lz4 = ["dep:lz4_flex"]
compress_pattern_v1 = []
default = [
    "sign",
    "encrypt",
    "compress",
    "async",
    "std-fs-impls",
    "netbios-transport",
]
encrypt = [
    "encrypt_aesccm",
    "encrypt_aesgcm",
]
encrypt_aes128ccm = [
    "dep:ccm",
    "dep:aead",
    "__encrypt_core",
]
encrypt_aes128gcm = [
    "dep:aes-gcm",
    "dep:aead",
    "__encrypt_core",
]
encrypt_aes256ccm = [
    "dep:ccm",
    "dep:aead",
    "__encrypt_core",
]
encrypt_aes256gcm = [
    "dep:aes-gcm",
    "dep:aead",
    "__encrypt_core",
]
encrypt_aesccm = [
    "encrypt_aes128ccm",
    "encrypt_aes256ccm",
]
encrypt_aesgcm = [
    "encrypt_aes128gcm",
    "encrypt_aes256gcm",
]
kerberos = [
    "reqwest",
    "dep:byteorder",
]
ksmbd-multichannel-compat = []
multi_threaded = ["__is_sync"]
netbios-transport = ["smb-transport/netbios-transport"]
quic = ["smb-transport/quic"]
rdma = ["smb-transport/rdma"]
sign = [
    "sign_gmac",
    "sign_cmac",
    "sign_hmac",
]
sign_cmac = ["dep:cmac"]
sign_gmac = ["dep:aes-gcm"]
sign_hmac = []
single_threaded = ["__is_sync"]
std-fs-impls = ["tokio?/fs"]
test-multichannel = []
test-ndr64 = []
test-quic = []
test-rdma = []

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

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

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

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

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

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

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

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

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

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

[dependencies.aead]
version = "0.6.0-rc.2"
optional = true

[dependencies.aes]
version = "0.9.0-rc.1"

[dependencies.aes-gcm]
version = "0.11.0-rc.1"
optional = true

[dependencies.binrw]
version = "0.15.0"

[dependencies.byteorder]
version = "1.5.0"
optional = true

[dependencies.ccm]
version = "0.6.0-pre.0"
optional = true

[dependencies.cmac]
version = "0.8.0-rc.1"
optional = true

[dependencies.crypto-common]
version = "0.2.0-rc.4"

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.futures-util]
version = "0.3"
optional = true

[dependencies.hmac]
version = "0.13.0-rc.2"

[dependencies.kbkdf]
version = "0.1.0-pre.0"

[dependencies.log]
version = "0.4.22"

[dependencies.lz4_flex]
version = "0.11"
features = ["std"]
optional = true
default-features = false

[dependencies.maybe-async]
version = "0.2"

[dependencies.modular-bitfield]
version = "0.11.2"

[dependencies.pastey]
version = "0.1.1"

[dependencies.rand]
version = "0.8.5"

[dependencies.reqwest]
version = "0.12"
optional = true
default-features = false

[dependencies.sha2]
version = "0.11.0-rc.2"

[dependencies.smb-dtyp]
version = "=0.11.2"

[dependencies.smb-fscc]
version = "=0.11.2"

[dependencies.smb-msg]
version = "=0.11.2"
features = ["client"]
default-features = false

[dependencies.smb-rpc]
version = "=0.11.2"

[dependencies.smb-transport]
version = "=0.11.2"
default-features = false

[dependencies.sspi]
version = "=0.18.7"
features = ["ring"]
default-features = false

[dependencies.thiserror]
version = "2.0"

[dependencies.time]
version = "0.3.45"
features = ["macros"]

[dependencies.tokio]
version = "1.43"
features = [
    "time",
    "rt",
]
optional = true

[dependencies.tokio-stream]
version = "0.1"
optional = true

[dependencies.tokio-util]
version = "0.7"
optional = true

[dependencies.url]
version = "2.5.0"

[dev-dependencies.serial_test]
version = "3.2"

[dev-dependencies.temp-env]
version = "0.3.6"
features = ["async_closure"]

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

[dev-dependencies.tokio]
version = "1.43"
features = [
    "rt",
    "macros",
]