Skip to content

Commit

Permalink
Optimize merge_var debug data (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamRodri authored Jan 18, 2025
1 parent 4954e18 commit 2f2808b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased

* More feature optimization.

# 0.13.6

Expand Down
1 change: 1 addition & 0 deletions crates/zng-var-proc-macros/src/merge_var.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub fn expand(input: proc_macro::TokenStream) -> proc_macro::TokenStream {

let out = quote! {
{
#[inline(always)]
fn merge_var__<
#(#type_idents: #vars_mod::VarValue,)*
#(#var_idents: #vars_mod::Var<#type_idents>,)*
Expand Down
9 changes: 9 additions & 0 deletions crates/zng-wgt-button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,14 @@ This crate is part of the [`zng`](https://github.com/zng-ui/zng?tab=readme-ov-fi


<!--do doc --readme features-->
## Cargo Features

This crate provides 1 feature flag, enabled by default.
#### `"tooltip"`
Enable tooltip in cmd buttons.

*Enabled by default.*

<!--do doc --readme #SECTION-END-->


7 changes: 6 additions & 1 deletion crates/zng/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ The example above installs `cargo-zng` and uses it to generate a new './my-app'
<!--do doc --readme features-->
## Cargo Features

This crate provides 76 feature flags, 35 enabled by default.
This crate provides 77 feature flags, 36 enabled by default.

#### `"view"`
Include the default view-process implementation.
Expand Down Expand Up @@ -269,6 +269,11 @@ Enable the configuration service.

*Enabled by default.*

#### `"settings_editor"`
Enable settings widgets.

*Enabled by default.*

#### `"data_context"`
Enable data context service and properties.

Expand Down

0 comments on commit 2f2808b

Please sign in to comment.