# 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.78.0" name = "e-utils" version = "0.3.74" authors = ["Eternal Night "] build = false include = [ "src/", "*.md", "*-LICENSE", "Cargo.toml", "examples/", ] autobins = false autoexamples = false autotests = false autobenches = false description = "a rust utils" homepage = "https://gitee.com/eternalnight996" documentation = "https://docs.rs/e-utils" readme = "README.md" keywords = [ "utils", "tools", "e-utils", "e-", ] categories = ["development-tools::build-utils"] license-file = "MIT-LICENSE" repository = "https://gitee.com/eternalnight996/e-utils" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [lib] name = "e_utils" crate-type = ["rlib"] path = "src/lib.rs" proc-macro = false [[example]] name = "cmd" path = "examples/cmd.rs" [[example]] name = "dialog_async" path = "examples/dialog_async.rs" [[example]] name = "dialog_block" path = "examples/dialog_block.rs" [[example]] name = "fs_attributes" path = "examples/fs_attributes.rs" [[example]] name = "fs_auto_create_folder" path = "examples/fs_auto_create_folder.rs" [[example]] name = "fs_custom_flags" path = "examples/fs_custom_flags.rs" [[example]] name = "fs_lock" path = "examples/fs_lock.rs" [[example]] name = "fs_lock_access" path = "examples/fs_lock_access.rs" [[example]] name = "fs_lock_share" path = "examples/fs_lock_share.rs" [[example]] name = "fs_security" path = "examples/fs_security.rs" [[example]] name = "regex_tree" path = "examples/regex_tree.rs" [[example]] name = "shell_open" path = "examples/shell_open.rs" [dependencies.chardet] version = "0.2" optional = true [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.e-macros] version = "0.1" optional = true [dependencies.encoding_rs] version = "0.8" optional = true [dependencies.image] version = "0.25.0" optional = true [dependencies.once_cell] version = "1" [dependencies.rand] version = "^0.8.5" features = ["small_rng"] optional = true [dependencies.regex] version = "1.10" [dependencies.reqwest] version = "0.12" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.thiserror] version = "^1.0.57" [dependencies.tokio] version = "1" optional = true default-features = false [dependencies.uuid] version = "1.10.0" optional = true [dev-dependencies.tempdir] version = "0.3" [features] algorithm = ["rand"] alloc = [] base64 = [] cmd = [ "encode", "fs", ] default = ["std"] dialog = [ "rfd", "rfd/xdg-portal", "rfd/tokio", "glib", "tokio", "tokio/full", ] encode = [ "encoding_rs", "chardet", ] fs = [] fs_ext = [ "fs", "winapi", "winapi/handleapi", "winapi/processthreadsapi", "winapi/winbase", "winapi/minwinbase", "winapi/winerror", "winapi/fileapi", "libc", ] http = ["reqwest"] http-blocking = ["reqwest/blocking"] http-json = ["reqwest/json"] images = ["image"] macros = ["e-macros"] std = [] ui = [ "e-macros", "winapi", "winapi/winuser", ] uuid_v4 = [ "uuid/v4", "uuid/fast-rng", "uuid/macro-diagnostics", "uuid", ] [target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.glib] version = "0.20.0" optional = true [target.'cfg(any(target_os = "macos", target_os = "windows", target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.rfd] version = "^0.14.0" optional = true default-features = false [target.'cfg(target_os="windows")'.dependencies.winapi] version = "0.3" features = [] optional = true default-features = false [target."cfg(unix)".dependencies.libc] version = "0.2" optional = true