Giter Club home page Giter Club logo

weaver's Introduction

use profession::SoftwareEngineer;

fn main() {
    let _me = SoftwareEngineer {
        name: "Will",
        base: "Dalian,China",
        languages: vec!["Rust", "Java"],
        databases: vec!["MySQL", "PostgreSQL"];
    };
}

weaver's People

Contributors

willser avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

xieren58 ajamesa

weaver's Issues

duplicated ID

as attached picture(when decrease using mouse the width of window)
image

Selecting where to save app

egui use directories_next store data.This is docs about directories_next.
One way to app could selecting where to save data is following this issue emilk/egui#914 .

Other way is rewrite following code

weaver/src/main.rs

Lines 134 to 147 in 9e097f3

fn setup(
&mut self,
ctx: &egui::Context,
_frame: &epi::Frame,
storage: Option<&dyn epi::Storage>,
) {
// Load previous app state (if any).
if let Some(storage) = storage {
// TODO change key in feature
*self = epi::get_value(storage, epi::APP_KEY).unwrap_or_default();
}
// Init font after load data from local
self.settings.local_settings(ctx);
}

It is worth noting that those code just work in write data to hd.

请求静态编译为无任何动态依赖的可执行文件

  1. 当前对于rust编译为Windows-MSVC平台的exe文件,总是依赖于一些dll, 然而在一些没有权限的服务器等场景,无法添加dll文件,
  2. weaver很小巧, 基本是开箱即用的, 又具有GUI, 基本就是拷贝在U盘里/在没有权限的远程服务器使用.
  3. 当前对于rust编译, 这块中文资料不是很多.
    我自己尝试不依赖任何dll做编译,但是失败了.
    所以请求编译出statically可执行文件.

cURL convert

It will be great if weaver could convert http request from cURL.To cURL,too.

And there is a cURL-like project hurl.Support it is great too.

Default font setting when different language

For now.There are only one seeting about font family.It's zh-CN.

weaver/src/setting.rs

Lines 153 to 163 in 9e097f3

pub fn get_default_font() -> String {
if let Some((_, lang)) = locale_config::Locale::current().tags().next() {
let lang_str = lang.to_string();
match lang_str.as_str() {
"zh-CN" => {
return "Microsoft YaHei UI".to_string();
}
_ => {}
}
}
"".to_string()

It's very helpful if add more language.

Better ui design and styles stuff

I am really really not good at ui design and styles stuff 😟.If you have a good idea about them,come up with your idea please.Any feedback is important for this project. 😃

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.