195 lines
3.3 KiB
TOML
195 lines
3.3 KiB
TOML
# 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.
|
|
#
|
|
# Local copy keeps the registry manifest shape and narrows log features so
|
|
# GPUI and Servo can share the same workspace dependency graph.
|
|
|
|
[package]
|
|
edition = "2024"
|
|
name = "gpui_util"
|
|
version = "0.2.2"
|
|
build = false
|
|
publish = true
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "A collection of utility structs and functions used by Zed and GPUI"
|
|
readme = false
|
|
license = "Apache-2.0"
|
|
resolver = "2"
|
|
|
|
[features]
|
|
test-support = [
|
|
"git2",
|
|
"rand",
|
|
"util_macros",
|
|
]
|
|
|
|
[lib]
|
|
name = "gpui_util"
|
|
path = "src/util.rs"
|
|
doctest = true
|
|
|
|
[dependencies.anyhow]
|
|
version = "1.0.86"
|
|
|
|
[dependencies.async-fs]
|
|
version = "2.1"
|
|
|
|
[dependencies.async_zip]
|
|
version = "0.0.17"
|
|
features = [
|
|
"deflate",
|
|
"deflate64",
|
|
]
|
|
|
|
[dependencies.collections]
|
|
version = "0.2.2"
|
|
package = "gpui_collections"
|
|
|
|
[dependencies.dirs]
|
|
version = "4.0"
|
|
|
|
[dependencies.dunce]
|
|
version = "1.0"
|
|
|
|
[dependencies.futures]
|
|
version = "0.3"
|
|
|
|
[dependencies.futures-lite]
|
|
version = "1.13"
|
|
|
|
[dependencies.git2]
|
|
version = "0.21.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[dependencies.globset]
|
|
version = "0.4"
|
|
|
|
[dependencies.itertools]
|
|
version = "0.14.0"
|
|
|
|
[dependencies.log]
|
|
version = "0.4.16"
|
|
|
|
[dependencies.rand]
|
|
version = "0.9"
|
|
optional = true
|
|
|
|
[dependencies.regex]
|
|
version = "1.5"
|
|
|
|
[dependencies.rust-embed]
|
|
version = "8.4"
|
|
features = ["include-exclude"]
|
|
|
|
[dependencies.schemars]
|
|
version = "1.0"
|
|
features = ["indexmap2"]
|
|
|
|
[dependencies.serde]
|
|
version = "1.0.221"
|
|
features = [
|
|
"derive",
|
|
"rc",
|
|
]
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0.144"
|
|
features = [
|
|
"preserve_order",
|
|
"raw_value",
|
|
]
|
|
|
|
[dependencies.serde_json_lenient]
|
|
version = "0.2"
|
|
features = [
|
|
"preserve_order",
|
|
"raw_value",
|
|
]
|
|
|
|
[dependencies.shlex]
|
|
version = "1.3.0"
|
|
|
|
[dependencies.smol]
|
|
version = "2.0"
|
|
|
|
[dependencies.take-until]
|
|
version = "0.2.0"
|
|
|
|
[dependencies.tempfile]
|
|
version = "3.20.0"
|
|
|
|
[dependencies.unicase]
|
|
version = "2.6"
|
|
|
|
[dependencies.util_macros]
|
|
version = "0.2.2"
|
|
optional = true
|
|
package = "gpui_util_macros"
|
|
|
|
[dependencies.walkdir]
|
|
version = "2.5"
|
|
|
|
[dependencies.which]
|
|
version = "6.0.0"
|
|
|
|
[dev-dependencies.git2]
|
|
version = "0.21.0"
|
|
default-features = false
|
|
|
|
[dev-dependencies.indoc]
|
|
version = "2"
|
|
|
|
[dev-dependencies.pretty_assertions]
|
|
version = "1.3.0"
|
|
features = ["unstable"]
|
|
|
|
[dev-dependencies.rand]
|
|
version = "0.9"
|
|
|
|
[dev-dependencies.util_macros]
|
|
version = "0.2.2"
|
|
package = "gpui_util_macros"
|
|
|
|
[target."cfg(unix)".dependencies.command-fds]
|
|
version = "0.3.1"
|
|
|
|
[target."cfg(unix)".dependencies.libc]
|
|
version = "0.2"
|
|
|
|
[target."cfg(unix)".dependencies.nix]
|
|
version = "0.29"
|
|
features = ["user"]
|
|
|
|
[target."cfg(windows)".dependencies.tendril]
|
|
version = "0.4.3"
|
|
|
|
[lints.clippy]
|
|
dbg_macro = "deny"
|
|
declare_interior_mutable_const = "deny"
|
|
disallowed_methods = "deny"
|
|
large_enum_variant = "allow"
|
|
let_underscore_future = "allow"
|
|
nonminimal_bool = "allow"
|
|
redundant_clone = "deny"
|
|
single_range_in_vec_init = "allow"
|
|
todo = "deny"
|
|
too_many_arguments = "allow"
|
|
type_complexity = "allow"
|
|
|
|
[lints.clippy.style]
|
|
level = "allow"
|
|
priority = -1
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "allow"
|
|
priority = 0
|