Skip to Content
이펙티브 러스트
book

이펙티브 러스트

by 데이비드 드라이스데일, 남기혁
October 2024
Beginner to intermediate
344 pages
7h 44m
Korean
Hanbit Media, Inc.
Content preview from 이펙티브 러스트
235
4
의존성
마지막으로
1
.
0
.
0
버전을 릴리스하는 데 너무 겁먹지 말기 바란다. 단지
API
가 이제 고정되었
음을 선언하는 정도의 의미이기 때문이다. 영원히
0
.
x
버전에 머무르는 함정에 빠지는 경우가
많은데, 그렇게 하면 세 가지 범주(메이저/마이너/패치 )로만 제한된 셈버의 표현력이 두 가지
범주 (유효-메이저/유효-마이너)로 더 줄어든다.
크레이트 사용자를 위한 셈버
크레이트 사용자로서는 의존성 버전이 바뀔 때 이론적으로 다음과 같은 결과가 발생할 수 있다.
패치 버전이 달라진 의존성 크레이트는
그냥 돼야 한다.
3
마이너 버전이 달라진 의존성 크레이트는 그대로 작동하지만, 크레이트를 더 깔끔하게 잘 사용하는 방법
은 없는지
API
에서 바뀐 부분을 좀 더 검토할 필요가 있다. 하지만 새로 바뀐 부분을 사용하면, 의존성을
다시 이전 버전으로 되돌릴 수 없다.
의존성 코드의 메이저 버전이 달라진 경우에는 어떠한 일도 일어날 수 있다. 기존 코드가 컴파일되지 않
아서 새
API
와 호환되도록 코드 일부를 다시 작성해야 할 가능성이 높다. 설사 컴파일되더라도
메이저
버전이 달라진 API를 정확하게 사용하는지 확인해야 한다.
라이브러리의 제약 조건과 선행 조건이 달라
질 수 있기 때문이다.
실전에서는 하이럼의 법칙에 의해 첫 번째와 두 번째 항목의 경우 ...
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