# 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 = "ruc"
version = "3.0.2"
authors = [
    "rust-util-collections",
    "fanhui.x@gmail.com",
]
description = "Rust Util Collections"
homepage = "https://github.com/rust-util-collections/ruc"
readme = "README.md"
keywords = [
    "utils",
    "error-management",
]
categories = ["development-tools::debugging"]
license = "MIT"
repository = "https://github.com/rust-util-collections/ruc.git"

[dependencies.once_cell]
version = "1.16"

[features]
ansi = []
cmd = []
compact = []
default = ["ansi"]
full = [
    "uau",
    "cmd",
    "ssh",
]
ssh = ["ssh2"]
uau = [
    "nix",
    "rand",
]

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.nix]
version = "0.26"
optional = true

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.rand]
version = "0.8"
optional = true

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.ssh2]
version = "0.9.4-p1"
optional = true
package = "ssh2-patched"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.time]
version = "0.3"
features = ["formatting"]
