# 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"
name = "megalib"
version = "0.9.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client library for Mega.nz cloud storage"
documentation = "https://docs.rs/megalib"
readme = "README.md"
keywords = [
    "mega",
    "meganz",
    "cloud-storage",
    "file-transfer",
]
categories = [
    "api-bindings",
    "asynchronous",
    "web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/11philip22/megalib"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.aes]
version = "0.8"

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

[dependencies.base64]
version = "0.22"

[dependencies.ccm]
version = "0.5"

[dependencies.ctr]
version = "0.9"

[dependencies.ed25519-dalek]
version = "2"
features = ["std"]
default-features = false

[dependencies.futures]
version = "0.3"

[dependencies.hex]
version = "0.4.3"

[dependencies.hmac]
version = "0.12"

[dependencies.image]
version = "0.25.9"

[dependencies.num-bigint]
version = "0.4"
features = ["rand"]

[dependencies.num-integer]
version = "0.1"

[dependencies.num-traits]
version = "0.2"

[dependencies.pbkdf2]
version = "0.12"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "stream",
    "socks",
]
default-features = false

[dependencies.rsa]
version = "0.9"
features = ["sha2"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dependencies.x25519-dalek]
version = "2"
features = ["static_secrets"]
default-features = false

[dev-dependencies.indicatif]
version = "0.18"

[dev-dependencies.tokio-test]
version = "0.4"

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

[target."cfg(windows)".dependencies.winreg]
version = "0.52"
