# 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 = "mega" version = "0.8.0" authors = ["Nicolas Polomack "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An API client library for interacting with MEGA" documentation = "https://docs.rs/mega" readme = "README.md" keywords = [ "mega", "api", "cloud", "storage", ] categories = [ "api-bindings", "web-programming", "web-programming::http-client", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Hirevo/mega-rs" [lib] name = "mega" path = "src/lib.rs" [[example]] name = "checksum_comparison" path = "examples/checksum_comparison.rs" [[example]] name = "condensed_mac_comparison" path = "examples/condensed_mac_comparison.rs" [[example]] name = "public_file_download" path = "examples/public_file_download.rs" [[example]] name = "public_folder_listing" path = "examples/public_folder_listing.rs" [[example]] name = "sha256" path = "examples/sha256.rs" [[example]] name = "simple_delete" path = "examples/simple_delete.rs" [[example]] name = "simple_download" path = "examples/simple_download.rs" [[example]] name = "simple_mkdir" path = "examples/simple_mkdir.rs" [[example]] name = "simple_move" path = "examples/simple_move.rs" [[example]] name = "simple_rename" path = "examples/simple_rename.rs" [[example]] name = "simple_upload" path = "examples/simple_upload.rs" [[example]] name = "thumbnail_upload" path = "examples/thumbnail_upload.rs" [[example]] name = "tree_listing" path = "examples/tree_listing.rs" [[test]] name = "event_updates" path = "tests/event_updates.rs" [[test]] name = "login" path = "tests/login.rs" [[test]] name = "protected_file_fetch" path = "tests/protected_file_fetch.rs" [[test]] name = "public_file_fetch" path = "tests/public_file_fetch.rs" [[test]] name = "session_resumption" path = "tests/session_resumption.rs" [[test]] name = "upload_and_download" path = "tests/upload_and_download.rs" [dependencies.aes] version = "0.8.4" [dependencies.aes-gcm] version = "0.10.3" features = ["std"] [dependencies.async-trait] version = "0.1.83" [dependencies.base64] version = "0.22.1" [dependencies.cbc] version = "0.1.2" [dependencies.chrono] version = "0.4.38" [dependencies.cipher] version = "0.4.4" features = ["block-padding"] [dependencies.crc32fast] version = "1.4.2" [dependencies.ctr] version = "0.9.2" [dependencies.futures] version = "0.3.31" [dependencies.hkdf] version = "0.12.4" features = ["std"] [dependencies.hmac] version = "0.12.1" [dependencies.json] version = "1.0.128" package = "serde_json" [dependencies.num-bigint-dig] version = "0.8.4" features = ["zeroize"] [dependencies.pbkdf2] version = "0.12.2" [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "0.12.8" features = [ "json", "stream", ] optional = true [dependencies.rsa] version = "0.9.6" [dependencies.secrecy] version = "0.10.2" features = ["serde"] [dependencies.serde] version = "1.0.210" features = ["derive"] [dependencies.serde_repr] version = "0.1.19" [dependencies.sha2] version = "0.10.8" [dependencies.sluice] version = "0.5.5" [dependencies.static_assertions] version = "1.1.0" [dependencies.thiserror] version = "1.0.64" [dependencies.tokio] version = "1.40.0" features = ["time"] optional = true [dependencies.tokio-util] version = "0.7.12" features = [ "compat", "codec", ] optional = true [dependencies.tracing] version = "0.1.40" [dependencies.url] version = "2.5.2" [dependencies.zeroize] version = "1.8.1" features = ["derive"] [dev-dependencies.async-read-progress] version = "0.2.0" [dev-dependencies.console] version = "0.15.8" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.indicatif] version = "0.17.8" [dev-dependencies.sha2] version = "0.10.8" [dev-dependencies.text_trees] version = "0.1.2" [dev-dependencies.tokio] version = "1.40.0" features = ["macros"] [features] default = ["reqwest"] reqwest = [ "dep:reqwest", "dep:tokio", "dep:tokio-util", ]