This PR further organizes and documents the component crate. It: - Simplifies the component registry - Gives access to `ComponentMetadata` sooner - Enables lookup by id in preview extension implementations (`ComponentId` -> `ComponentMetadata`) - Should slightly improve the performance of ComponentPreview It also brings component statuses to the Component trait:    Release Notes: - N/A
25 lines
408 B
TOML
25 lines
408 B
TOML
[package]
|
|
name = "component"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/component.rs"
|
|
|
|
[dependencies]
|
|
collections.workspace = true
|
|
gpui.workspace = true
|
|
linkme.workspace = true
|
|
parking_lot.workspace = true
|
|
strum.workspace = true
|
|
theme.workspace = true
|
|
workspace-hack.workspace = true
|
|
|
|
[features]
|
|
default = []
|