Skip to Content
이펙티브 러스트
book

이펙티브 러스트

by 데이비드 드라이스데일, 남기혁
October 2024
Beginner to intermediate
344 pages
7h 44m
Korean
Hanbit Media, Inc.
Content preview from 이펙티브 러스트
236
이펙티브 러스트
안 업데이트도 없을 가능성이 높다. 가령,
2
.
x
릴리스가 새로 출시됐을 때
"
1
.
4
"
같은 버전은
해결되지 않은 보안 문제를 가진 채 점점 더 뒤처지게 된다.
따라서 이전 버전에 갇히는 위험을 감수하거나 의존성을 메이저 버전에 맞게 업그레이드하거나
둘 중 하나를 선택해야 한다.
cargo
update
또는
Dependabot
(아이템
31
)과 같은 도구를 사
용하면 업데이트가 제공되는 시기를 알 수 있고, 원하는 시간에 업그레이드를 예약할 수 있다.
고찰
시맨틱 버저닝에는 비용이 발생한다. 크레이트에 대한 모든 변경 사항을 자체 기준에 따라 평
가해서 버전 올림 (버전 범프)
version
bump
유형을 잘 결정해야 한다. 시맨틱 버저닝은 무딘 도구
이기도 하다. 크레이트 소유자가 생각하기에 현재 릴리스가 세 가지 범주 중 어디에 속하는지
만 알려 줄 뿐이다. 항상 정확하게 표현할 수 없고, 정확하게 판단하기 힘든 경우도 있으며 설
사 정확하게 분류했더라도 하이럼의 법칙에 어긋날 가능성은 항상 존재한다.
하지만 고도로 테스트된 구글의 거대한 내부 모노레포
monorepo
와 같은 환경을 누릴 수 없는 이들
에게 주어진 의존성 관리 방법은 셈버밖에 없다. 따라서 의존성 관리를 위해서는 셈버의 개념
과 한계를 명확히 이해해야 한다.
아이템
22
: 가시성을 최소화하라
러스트에서는 가시성
visibility
을 조절하는 메커니즘을 통해 코드의 요소를 코드베이스에서 볼 수
있거나 없게 할 수 있다. 이번 아이템에서는 러스트에서 어떤 메커니즘을 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

이펙티브 타입스크립트

이펙티브 타입스크립트

Dan Vanderkam
파이썬으로 살펴보는 아키텍처 패턴

파이썬으로 살펴보는 아키텍처 패턴

오현석, 해리 퍼시벌, 밥 그레고리

Publisher Resources

ISBN: 9791169212946