[package]
edition = "2024"
rust-version = "1.92"
name = "taim"
version = "0.15.0-rc.2"
authors = [
"Satpal Singh",
"theaimartco <dev@theaimartco.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Taim.rs: a GPU-native, fine-grained reactive GUI framework for Rust, for desktop, mobile and the web. By theaimartco."
homepage = "https://github.com/theaimartco/taim"
readme = "README.md"
keywords = [
"gui",
"ui",
"gpu",
"reactive",
"cross-platform",
]
categories = [
"gui",
"graphics",
"rendering",
]
license = "MIT"
repository = "https://github.com/theaimartco/taim"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"docsrs",
]
all-features = true
[badges.maintenance]
status = "actively-developed"
[features]
accessibility = ["taim_winit/accessibility"]
advanced-shaping = ["taim_core/advanced-shaping"]
android = ["taim_winit/android-native-activity"]
android-game-activity = ["taim_winit/android-game-activity"]
basic-shaping = ["taim_core/basic-shaping"]
crisp = ["taim_core/crisp"]
default = [
"wgpu",
"tiny-skia",
"crisp",
"hinting",
"linux-theme-detection",
"x11",
"wayland",
]
fira-sans = ["taim_renderer/fira-sans"]
highlighter = ["dep:taim-highlighter"]
hinting = ["taim_winit/hinting"]
image = [
"image-without-codecs",
"image/default",
"taim_winit/image",
]
image-without-codecs = [
"taim_renderer/image",
"taim-view/image",
"dep:image",
]
linux-theme-detection = ["taim_winit/linux-theme-detection"]
measurement = ["taim_winit/measurement"]
raster = ["taim_renderer/raster"]
strict-assertions = ["taim_renderer/strict-assertions"]
svg = [
"taim_renderer/svg",
"taim-view/svg",
]
tiny-skia = ["taim_renderer/tiny-skia"]
vyom = ["dep:taim-platform-vyom"]
wayland = [
"taim_renderer/wayland",
"taim_winit/wayland",
]
web-colors = ["taim_renderer/web-colors"]
webgl = ["taim_renderer/webgl"]
wgpu = [
"wgpu-bare",
"taim_renderer/wgpu",
]
wgpu-android = [
"wgpu-bare",
"taim_renderer/android",
]
wgpu-bare = ["taim_renderer/wgpu-bare"]
wgpu-vulkan = [
"wgpu-bare",
"taim_renderer/vulkan",
]
x11 = [
"taim_renderer/x11",
"taim_winit/x11",
]
[lib]
name = "taim"
path = "src/lib.rs"
[[test]]
name = "accessibility"
path = "tests/accessibility.rs"
[[test]]
name = "api"
path = "tests/api.rs"
[[test]]
name = "apps"
path = "tests/apps.rs"
[[test]]
name = "color"
path = "tests/color.rs"
[[test]]
name = "design"
path = "tests/design.rs"
[[test]]
name = "events"
path = "tests/events.rs"
[[test]]
name = "gestures"
path = "tests/gestures.rs"
[[test]]
name = "glass"
path = "tests/glass.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "gpu"
path = "tests/gpu.rs"
[[test]]
name = "graphics"
path = "tests/graphics.rs"
[[test]]
name = "layout"
path = "tests/layout.rs"
[[test]]
name = "motion"
path = "tests/motion.rs"
[[test]]
name = "native_views"
path = "tests/native_views.rs"
[[test]]
name = "platform"
path = "tests/platform.rs"
[[test]]
name = "profiler"
path = "tests/profiler.rs"
[[test]]
name = "runtime"
path = "tests/runtime.rs"
[[test]]
name = "security"
path = "tests/security.rs"
[[test]]
name = "semantics"
path = "tests/semantics.rs"
[[test]]
name = "smoke"
path = "tests/smoke.rs"
[[test]]
name = "stress"
path = "tests/stress.rs"
[[test]]
name = "text"
path = "tests/text.rs"
[[test]]
name = "touch"
path = "tests/touch.rs"
[[test]]
name = "widgets"
path = "tests/widgets.rs"
[[bench]]
name = "cpu"
path = "benches/cpu.rs"
harness = false
[[bench]]
name = "views"
path = "benches/views.rs"
harness = false
[[bench]]
name = "wgpu"
path = "benches/wgpu.rs"
harness = false
[dependencies.image]
version = "0.25"
optional = true
default-features = false
[dependencies.taim-highlighter]
version = "0.15.0-rc.2"
optional = true
[dependencies.taim-platform-vyom]
version = "0.15.0-rc.2"
optional = true
[dependencies.taim-signal]
version = "0.15.0-rc.2"
[dependencies.taim-view]
version = "0.15.0-rc.2"
[dependencies.taim_core]
version = "0.15.0-rc.2"
[dependencies.taim_renderer]
version = "0.15.0-rc.2"
[dependencies.taim_winit]
version = "0.15.0-rc.2"
default-features = false
[dependencies.thiserror]
version = "2"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.taim-accessibility]
version = "0.15.0-rc.2"
[dev-dependencies.taim-design]
version = "0.15.0-rc.2"
[dev-dependencies.taim-gesture]
version = "0.15.0-rc.2"
[dev-dependencies.taim-motion]
version = "0.15.0-rc.2"
default-features = false
[dev-dependencies.taim-platform-vyom]
version = "0.15.0-rc.2"
[dev-dependencies.taim-profiler]
version = "0.15.0-rc.2"
[dev-dependencies.taim-raster]
version = "0.15.0-rc.2"
[dev-dependencies.taim_futures]
version = "0.15.0-rc.2"
features = ["thread-pool"]
[dev-dependencies.taim_graphics]
version = "0.15.0-rc.2"
[dev-dependencies.taim_renderer]
version = "0.15.0-rc.2"
[dev-dependencies.taim_runtime]
version = "0.15.0-rc.2"
[dev-dependencies.taim_tiny_skia]
version = "0.15.0-rc.2"
default-features = false
[dev-dependencies.taim_wgpu]
version = "0.15.0-rc.2"
default-features = false
[dev-dependencies.taim_widget]
version = "0.15.0-rc.2"
features = [
"advanced",
"taim",
"canvas",
"image",
"lazy",
"signal",
"wgpu",
"highlighter",
"markdown",
"qr_code",
"svg",
]
[target.'cfg(any(target_arch = "wasm32", target_os = "ios"))'.dependencies.taim_renderer]
version = "0.15.0-rc.2"
features = ["fira-sans"]
[lints.clippy]
default_trait_access = "deny"
filter_map_next = "deny"
from_over_into = "deny"
large-enum-variant = "allow"
manual_filter = "allow"
manual_let_else = "deny"
map-entry = "allow"
match-wildcard-for-single-variants = "deny"
needless_borrow = "deny"
new_without_default = "deny"
redundant-closure-for-method-calls = "deny"
result_large_err = "allow"
semicolon_if_nothing_returned = "deny"
trivially-copy-pass-by-ref = "deny"
type-complexity = "allow"
unused_async = "deny"
useless_conversion = "deny"
[lints.rust]
missing_docs = "deny"
unsafe_code = "deny"
unused_results = "deny"
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1
[lints.rustdoc]
broken_intra_doc_links = "forbid"
[profile.dev]
opt-level = 0
debug = 0
incremental = false
strip = "debuginfo"
[profile.dev.package.taim_tiny_skia]
opt-level = 3
debug = 0
[profile.dev.package."*"]
opt-level = 2
debug = 0
[profile.dev.build-override]
debug = 0
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"
[profile.release-opt]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
overflow-checks = false
incremental = false
inherits = "release"
strip = "symbols"
[profile.release-small]
opt-level = "z"
lto = "fat"
codegen-units = 1
panic = "abort"
inherits = "release"
strip = "symbols"
[profile.release-small.package.swash]
opt-level = 3
[profile.release-small.package.taim_tiny_skia]
opt-level = 3
[profile.release-small.package.taim_wgpu]
opt-level = 3
[profile.release-small.package.tiny-skia]
opt-level = 3
[profile.release-small.package.tiny-skia-path]
opt-level = 3
[profile.release-small.package.zeno]
opt-level = 3
[profile.test]
debug = 0
incremental = false
strip = "debuginfo"
[profile.test.package.taim_tiny_skia]
opt-level = 3
debug = 0
[profile.test.package."*"]
opt-level = 2
debug = 0
[profile.test.build-override]
debug = 0