# 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 = "rigela-utils" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "RigelA项目使用的工具函数库。" readme = "README.md" keywords = [ "screen-reader", "accessibility", ] license = "Apache-2.0" repository = "https://gitcode.net/mzdk100/rigela.git" [package.metadata.docs.rs] all-features = true default-target = "x86_64-pc-windows-msvc" rustc-args = [ "--cfg", "docsrs", ] rustdoc-args = [ "--cfg", "docsrs", "--generate-link-to-definition", ] [lib] name = "rigela_utils" path = "src/lib.rs" [dependencies.clipboard] version = "0.5.0" optional = true [dependencies.encoding_rs] version = "0.8.34" optional = true [dependencies.log] version = "0.4.22" [dependencies.log4rs] version = "1.3.0" optional = true [dependencies.png] version = "0.17.13" optional = true [dependencies.serde] version = "1.0.204" optional = true [dependencies.serde_json_bytes] version = "0.2.4" optional = true [dependencies.tokio] version = "1.39.1" optional = true [dependencies.win-wrap] version = "0.2.3" optional = true [features] bass = [ "library", "win-wrap/common", ] clip = ["clipboard"] color = [] common = [] fs = [ "win-wrap/shell", "tokio/fs", "tokio/io-util", ] ibmeci = [ "common", "encoding_rs/fast-gb-hanzi-encode", "tokio/sync", ] killer = [ "pipe", "win-wrap/threading", ] library = ["fs"] logger = ["log4rs"] pipe = [ "serde_json_bytes", "serde/derive", "tokio/net", "tokio/io-util", "tokio/time", ] screen = [ "win-wrap/graphic", "png", ]