2020-07-08 | Genesis

Event

Introduced elvis to rust community in 唠嗑室.

Feat

#1 Implement elvis development server @epm

$ cargo install epm $ epm epm 0.1.4 USAGE: epm <SUBCOMMAND> FLAGS: -h, --help Prints help information -V, --version Prints version information SUBCOMMANDS: build Build elvis app to the output dir dev Start development server help Prints this message or the help of the given subcommand(s) init Create a new elvis package in an existing directory new Create a new elvis package 

#2 Perfect the syntax

 #![allow(unused)] fn main() { //! src/lib.rs use elvis::{ prelude::*, layouts::Center, widgets::{Text, TextStyle}, }; #[elvis(page)] struct Index; impl LifeCycle<Center> for Index { fn new() -> Center { Center { child: Text { text: "Pink is the Pig!!!".into(), style: TextStyle::default(), }.into() } } } } 

#3 Community works

  • Set up this blog
  • Create discord channels
  • Create wechat group
  • Update README

Issues

  • #5 Need a common stream format to support cross-platform
  • #10 Broken pipe error in the websocket connection of development server
  • #15 Separate rust user guide and javascript user guide
  • #16 The compiling speed of epm is too slow
  • #18 Restruct treee node as a trait
  • #22 Basic examples for developers

Pull Requests

  • #3 Separate elvis crate into crates
  • #4 Remove wasm-bindgen exports of widgets in elvis-web
  • #6 Add Backend Crate
  • #7 Migrate epm into crates
  • #8 Supports cargo clippy in ci
  • #9 Supports hot-reload in development server
  • #11 Generate Elvis APP in one command
  • #12 Supports logger in development server
  • #13 Complete inline docs for all crates
  • #14 Bump crate versions
  • #17 Perfect bindgen sytax
  • #19 Add community Entries in README
  • #21 Perfect the Community Info in README