starbase_utils 0.14.0

General fs, io, serde, net, etc, utilities.
Documentation
# 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 = "2024"
rust-version = "1.89.0"
name = "starbase_utils"
version = "0.14.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "General fs, io, serde, net, etc, utilities."
readme = "README.md"
license = "MIT"
repository = "https://github.com/moonrepo/starbase"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
default = []
editor-config = ["dep:ec4rs"]
fs-lock = ["dep:tokio"]
glob = [
    "dep:wax",
    "dep:jwalk",
]
glob-cache = ["dep:scc"]
hash = [
    "dep:hex",
    "dep:sha2",
]
hash-base64 = ["dep:base64"]
json = [
    "dep:json-strip-comments",
    "dep:serde",
    "dep:serde_json",
]
miette = ["dep:miette"]
net = [
    "dep:reqwest",
    "dep:url",
    "dep:async-trait",
]
toml = [
    "dep:toml",
    "dep:serde",
]
yaml = [
    "dep:serde",
    "dep:serde_norway",
]

[lib]
name = "starbase_utils"
path = "src/lib.rs"

[[test]]
name = "envx_test"
path = "tests/envx_test.rs"

[[test]]
name = "fs_lock_test"
path = "tests/fs_lock_test.rs"

[[test]]
name = "fs_test"
path = "tests/fs_test.rs"

[[test]]
name = "glob_test"
path = "tests/glob_test.rs"

[[test]]
name = "hash_test"
path = "tests/hash_test.rs"

[[test]]
name = "json_test"
path = "tests/json_test.rs"

[[test]]
name = "net_test"
path = "tests/net_test.rs"

[[test]]
name = "path_test"
path = "tests/path_test.rs"

[[test]]
name = "yaml_test"
path = "tests/yaml_test.rs"

[[bench]]
name = "glob"
path = "benches/glob.rs"
harness = false

[dependencies.async-trait]
version = "0.1.89"
optional = true

[dependencies.base64]
version = "0.22.1"
optional = true

[dependencies.dirs]
version = "6.0.0"

[dependencies.ec4rs]
version = "1.2.0"
optional = true

[dependencies.hex]
version = "0.4.3"
optional = true

[dependencies.json-strip-comments]
version = "3.1.1"
optional = true

[dependencies.jwalk]
version = "0.8.1"
optional = true

[dependencies.miette]
version = "7.6.0"
optional = true

[dependencies.reflink-copy]
version = "0.1.30"

[dependencies.reqwest]
version = "0.13.4"
optional = true
default-features = false

[dependencies.scc]
version = "3.8.3"
optional = true

[dependencies.serde]
version = "1"
features = ["derive"]
optional = true

[dependencies.serde_json]
version = "1"
features = ["preserve_order"]
optional = true

[dependencies.serde_norway]
version = "0.9"
optional = true

[dependencies.sha2]
version = "0.11.0"
optional = true

[dependencies.starbase_styles]
version = "0.6.9"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.3"
features = [
    "io-util",
    "macros",
    "rt",
    "sync",
    "rt",
    "time",
]
optional = true
default-features = false

[dependencies.toml]
version = "1.1.2"
optional = true

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"
optional = true

[dependencies.wax]
version = "0.7.0"
features = ["walk"]
optional = true

[dev-dependencies.criterion2]
version = "3.0.3"
default-features = false

[dev-dependencies.reqwest]
version = "0.13.4"
features = ["rustls"]
default-features = false

[dev-dependencies.tokio]
version = "1.52.3"
features = [
    "io-util",
    "macros",
    "rt",
    "sync",
]
default-features = false