[package] name = "ptstd" version = "0.1.3" edition = "2021" description = "A collection of wrapped crates and utils" license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["full"] full = ["std", "extra"] std = [] # 3rd extra = ["crypto", "linear", "log", "chrono", "image", "clipboard", "rand", "error"] crypto = [] linear = [] log = [] chrono = [] image = [] clipboard = [] rand = [] error = [] [dependencies] # 加密 rust-crypto = "0.2.36" rsa = "0.7.1" # 随机数 rand = "0.8.5" # 错误处理 thiserror = "1.0.37" anyhow = "1.0.66" # 线性代数 ndarray = "0.15.6" # 日志门面库 log = {version = "0.4.17", features = ["std"] } # 时间 chrono = { version = "0.4.19" } # 图像处理 image = "0.24.5" # 剪切板 clipboard-win = "4.5.0" [dev-dependencies] rand = "0.8.5" # docs.rs-specific configuration [package.metadata.docs.rs] # document all features all-features = true # defines the configuration attribute `docsrs` rustdoc-args = ["--cfg", "docsrs"]