1个不稳定版本
0.4.1 | 2021年12月6日 |
---|
#9 in #systray
75KB
776 行
systrayx
创建者没有合并太多东西,所以这是一个更好的更酷的仓库。我将合并我可以合并的任何PR,但可能不会在这个项目上工作,因为我无能 :)
systrayx是一个Rust库,它以平台特定的方式使应用程序易于在系统中显示图标以及添加菜单项。
systrayx深受Go语言的systray库的影响。
systray目前支持
- Linux GTK
- Win32
Cocoa核心仍需要!
许可证
systrayx包含来自retep998的winapi-rs的一些代码。此代码受MIT许可证的保护。一旦winapi-rs有一个0.3版本的crate可用,此代码将被删除。
systrayx受BSD许可证许可。
Copyright (c) 2016-2020, Nonpolynomial Labs, LLC
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the project nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
依赖项
~0–3.5MB
~80K SLoC