scaffold
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
[package]
|
||||
name = "gpui-native-core"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
description = "The GPUI components every application needs, one cargo feature each"
|
||||
|
||||
[dependencies]
|
||||
gpui = { workspace = true }
|
||||
|
||||
[features]
|
||||
default = ["full"]
|
||||
full = [
|
||||
"button",
|
||||
"checkbox",
|
||||
"switch",
|
||||
"radio",
|
||||
"toggle",
|
||||
"link",
|
||||
"slider",
|
||||
"progress",
|
||||
"avatar",
|
||||
"input",
|
||||
"popover",
|
||||
"tooltip",
|
||||
"menu",
|
||||
"dialog",
|
||||
"sheet",
|
||||
"toast",
|
||||
]
|
||||
button = []
|
||||
checkbox = []
|
||||
switch = []
|
||||
radio = []
|
||||
toggle = []
|
||||
link = []
|
||||
slider = []
|
||||
progress = []
|
||||
avatar = []
|
||||
input = []
|
||||
popover = []
|
||||
tooltip = []
|
||||
menu = []
|
||||
dialog = []
|
||||
sheet = []
|
||||
toast = []
|
||||
@@ -0,0 +1,8 @@
|
||||
//! The components every application needs, one cargo feature each.
|
||||
//!
|
||||
//! Components land one per feature: `button`, `checkbox`, `input`, …
|
||||
//! `default-features = false` plus the features you want for a lean build;
|
||||
//! `full` (the default) for everything. Features gate whole modules and are
|
||||
//! additive only; each component adds its `#[cfg(feature = "…")] pub mod`
|
||||
//! declaration together with its file. Shared helpers promoted per the
|
||||
//! third-use rule live in the ungated `common` module once one exists.
|
||||
Reference in New Issue
Block a user