gpui-fps 0.6.1

Realtime FPS, frame time, CPU, GPU and memory HUD for GPUI applications.
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"
name = "gpui-fps"
version = "0.6.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Realtime FPS, frame time, CPU, GPU and memory HUD for GPUI applications."
homepage = "https://gpui-kit.com"
documentation = "https://docs.rs/gpui-fps"
readme = "README.md"
keywords = [
    "fps",
    "gpui",
    "hud",
    "performance",
    "profiling",
]
license = "Apache-2.0"
repository = "https://github.com/longbridge/gpui-kit/tree/main/crates/fps"
resolver = "2"

[lib]
name = "gpui_fps"
path = "src/lib.rs"
doctest = false

[dependencies.gpui]
version = "0.3.1"
features = ["profiler"]
package = "gpui-pre"

[dependencies.web-time]
version = "1"

[dev-dependencies.gpui]
version = "0.3.1"
features = ["test-support"]
package = "gpui-pre"

[target.'cfg(not(target_family = "wasm"))'.dependencies.sysinfo]
version = "0.37"

[target.'cfg(target_os = "linux")'.dependencies.uuid]
version = "1"
features = ["v5"]

[target.'cfg(target_os = "linux")'.dependencies.wayland-client]
version = "0.31"

[target.'cfg(target_os = "macos")'.dependencies.core-graphics]
version = "0.24"

[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2"

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3"
features = [
    "std",
    "CFArray",
    "CFDictionary",
    "CFNumber",
    "CFString",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-io-kit]
version = "0.3"
features = [
    "std",
    "libc",
]
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58.0"
features = [
    "Wdk",
    "Wdk_System",
    "Wdk_System_SystemServices",
    "Win32_Graphics_Gdi",
    "Win32_System_Performance",
    "Win32_System_ProcessStatus",
    "Win32_System_Threading",
]

[lints.clippy]
almost_complete_range = "allow"
arc_with_non_send_sync = "allow"
borrowed_box = "allow"
dbg_macro = "deny"
let_underscore_future = "allow"
manual_is_multiple_of = "allow"
map_entry = "allow"
module_inception = "allow"
non_canonical_partial_ord_impl = "allow"
reversed_empty_ranges = "allow"
single_range_in_vec_init = "allow"
todo = "deny"
type_complexity = "allow"
useless_conversion = "allow"

[lints.clippy.style]
level = "allow"
priority = -1