2022년 09월 07일 · 0분 분량Rust: Auto-Reloading Development Server (라이브 리로딩 서cargo-watch 를 설치한다. $ cargo install cargo-watch 원하는 프로젝트 폴더로 이동해서 아래와 같이 실행하면 라이브 리로딩 서버가 실행된다. $ cargo-watch -x runrustlang
2022년 09월 07일 · 0분 분량Rust 바이너리 작게 만들기Cargo.toml 에 다음을 추가하고, ... [profile.release] strip = true # Automatically strip symbols from the bianry opt-level = "s" # Optimize for size lto = true # Enable link time optimization codegen-units = 1 # Maximize size reduction optimizations release 모드로 컴파일 한다. $ cargo build --releaserust