# 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"
rust-version = "1.85"
name = "smb2"
version = "0.13.0"
build = false
exclude = [
    ".github/",
    "AGENTS.md",
    "docs/",
    "justfile",
    "deny.toml",
    "clippy.toml",
    "rustfmt.toml",
    "related-repos/",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust SMB2/3 client library with pipelined I/O"
documentation = "https://docs.rs/smb2"
readme = "README.md"
keywords = [
    "smb",
    "smb2",
    "smb3",
    "cifs",
    "network",
]
categories = [
    "network-programming",
    "filesystem",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/vdavid/smb2"

[package.metadata.docs.rs]
all-features = true

[features]
fuzzing = []
serde = ["dep:serde"]
testing = []

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aes]
version = "0.9.1"

[dependencies.aes-gcm]
version = "0.11.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.ccm]
version = "=0.6.0-rc.3"

[dependencies.cmac]
version = "0.8.0"

[dependencies.digest]
version = "0.11"

[dependencies.futures-util]
version = "0.3"
features = [
    "std",
    "async-await",
]
default-features = false

[dependencies.getrandom]
version = "0.4"

[dependencies.hmac]
version = "0.13"

[dependencies.log]
version = "0.4"

[dependencies.lz4_flex]
version = "0.13"

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

[dependencies.md4]
version = "0.11"

[dependencies.num_enum]
version = "0.7"

[dependencies.pbkdf2]
version = "0.13.0"

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.sha1]
version = "0.11"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "net",
    "io-util",
    "time",
    "sync",
    "rt",
]

[dev-dependencies.env_logger]
version = "0.11"

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

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "time",
    "net",
    "io-util",
]
