ditto_bot_rust's People
ditto_bot_rust's Issues
slack메시지 파싱 시 String대신 Cow<str> 쓰기
https://doc.rust-lang.org/stable/std/borrow/enum.Cow.html
이스케이핑이 필요하거나 인코딩 변환이 필요한 입력일 경우 알아서 Owned로 변경됨
GitHub actions 사용하기
코드 퀄리티 체크는 actions자체에서 해서 보기 편하게하고 배포만 drone한테 시키기
openssl대신 native-tls 혹은 rustls 사용
- native-tls 각각의 OS의 기본으로 존재하는 tls라이브러리 사용 가능
- rustls pure rust구현체. rustls-native-certs와 함께 쓰면 ca cert 번들링 필요 없음. 그리고 openssl보다 확실히 빠름 https://jbp.io/2019/07/01/rustls-vs-openssl-performance.html
몬헌 이미지
잉여력
lazy_static 제거할 수 있는 곳 제거하기
const if, const loop가 stabilize되면 https://docs.rs/smallvec/1.4.1/smallvec/ 같은 자료구조를 직접 만들거나 const expression을 제공하는 것을 찾아서 컴파일타임에 정해지도록 할 수 있을 듯
CI 코드 퀄리티 체크
cargo clippy
editorconfig
logger사용하기
구현체는 env_logger나 simple_logger 정도가 적당할 듯?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.