update build info and strip
This commit is contained in:
parent
f40f2be0a0
commit
871fe65187
2
.cargo/config
Normal file
2
.cargo/config
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[build]
|
||||||
|
target = "x86_64-pc-windows-gnu"
|
@ -1,7 +1,8 @@
|
|||||||
|
cargo-features=["strip"]
|
||||||
[package]
|
[package]
|
||||||
name = "serial_communication_tool_v2"
|
name = "serial_communication_tool_v2"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2018"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
@ -21,3 +22,9 @@ opt-level = 'z'
|
|||||||
lto = true
|
lto = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
panic = 'abort'
|
panic = 'abort'
|
||||||
|
strip = "debuginfo"
|
||||||
|
#[[bin]]
|
||||||
|
#name = "win_serial_comm_tool"
|
||||||
|
#target = "x86_64-pc-windows-gnu"
|
||||||
|
#path = "src/main.rs"
|
||||||
|
|
||||||
|
28
src/test.ui
28
src/test.ui
@ -4,6 +4,7 @@
|
|||||||
<requires lib="gtk+" version="3.24"/>
|
<requires lib="gtk+" version="3.24"/>
|
||||||
<object class="GtkWindow" id="log_window">
|
<object class="GtkWindow" id="log_window">
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
|
<property name="icon-name">network-server</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTextView" id="log_view">
|
<object class="GtkTextView" id="log_view">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@ -15,6 +16,7 @@
|
|||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
<property name="default-width">300</property>
|
<property name="default-width">300</property>
|
||||||
<property name="default-height">400</property>
|
<property name="default-height">400</property>
|
||||||
|
<property name="icon-name">network-server</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkBox">
|
<object class="GtkBox">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@ -242,7 +244,6 @@
|
|||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="spacing">5</property>
|
<property name="spacing">5</property>
|
||||||
<!-- <property name="baseline-position">top</property>-->
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="ui_baudrate">
|
<object class="GtkLabel" id="ui_baudrate">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
@ -250,6 +251,11 @@
|
|||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="label" translatable="yes">115200</property>
|
<property name="label" translatable="yes">115200</property>
|
||||||
</object>
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">1</property>
|
||||||
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="ui_databit">
|
<object class="GtkLabel" id="ui_databit">
|
||||||
@ -258,6 +264,11 @@
|
|||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="label" translatable="yes">8</property>
|
<property name="label" translatable="yes">8</property>
|
||||||
</object>
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">2</property>
|
||||||
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="ui_parity">
|
<object class="GtkLabel" id="ui_parity">
|
||||||
@ -266,6 +277,11 @@
|
|||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="label" translatable="yes">None</property>
|
<property name="label" translatable="yes">None</property>
|
||||||
</object>
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">3</property>
|
||||||
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkLabel" id="ui_stopbit">
|
<object class="GtkLabel" id="ui_stopbit">
|
||||||
@ -274,8 +290,18 @@
|
|||||||
<property name="hexpand">True</property>
|
<property name="hexpand">True</property>
|
||||||
<property name="label" translatable="yes">1</property>
|
<property name="label" translatable="yes">1</property>
|
||||||
</object>
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">4</property>
|
||||||
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">True</property>
|
||||||
|
<property name="position">3</property>
|
||||||
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user