# 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.76.0" name = "e-clients" version = "0.1.9" authors = ["Eternal Night "] build = false include = [ "src/", "*.md", "*-LICENSE", "Cargo.toml", "examples/", ] autobins = false autoexamples = false autotests = false autobenches = false description = "a rust services link upload: ftp、local、ssh、smb" homepage = "https://gitee.com/eternalnight996" documentation = "https://docs.rs/e-clients" readme = "README.md" keywords = [ "smb", "ftp", "ssh", "upload", "e-", ] categories = [] license-file = "MIT-LICENSE" repository = "https://gitee.com/eternalnight996/e-clients" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [lib] name = "e_clients" crate-type = ["rlib"] path = "src/lib.rs" proc-macro = false [[example]] name = "ftp" path = "examples/ftp.rs" [[example]] name = "smb" path = "examples/smb.rs" [[example]] name = "ssh" path = "examples/ssh.rs" [dependencies.e-log] version = "0.2" default-features = false [dependencies.e-utils] version = "0.3" [dependencies.remotefs] version = "0.2" [dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies] [features] default = [] ftp = ["suppaftp"] log = ["e-log/log"] smb = ["remotefs/find"] ssh = ["remotefs-ssh"] tracing = ["e-log/tracing"] [target.'cfg(not(target_os = "macos"))'.dependencies.remotefs-smb] version = "^0.2" optional = true [target.'cfg(target_family = "unix")'.dependencies.libc] version = "^0.2" [target.'cfg(target_family = "unix")'.dependencies.pavao] version = "^0.2" [target.'cfg(target_family = "unix")'.dependencies.remotefs-ssh] version = "^0.3.1" features = ["ssh2-vendored"] optional = true [target.'cfg(target_family = "unix")'.dependencies.suppaftp] version = "^6.0" features = ["native-tls"] optional = true [target.'cfg(target_family = "windows")'.dependencies.filetime] version = "^0.2" [target.'cfg(target_family = "windows")'.dependencies.remotefs-ssh] version = "^0.3.1" optional = true [target.'cfg(target_family = "windows")'.dependencies.suppaftp] version = "^6.0" features = ["native-tls"] optional = true [target.'cfg(target_family = "windows")'.dependencies.windows-sys] version = "^0.48" features = [ "Win32_NetworkManagement_WNet", "Win32_Foundation", ]