---
title: "“Trait-ifying” our libraries to reduce transitive dependencies"
url: https://daily.dev/posts/trait-ifying-our-libraries-to-reduce-transitive-dependencies-gsdlzsapv
source_url: https://www.pointfree.co/blog/posts/216-trait-ifying-our-libraries-to-reduce-transitive-dependencies
type: article
source: "Point-Free Pointers"
published: 2026-06-24T17:32:21.186Z
updated: 2026-06-24T17:32:50.438Z
tags: ["swift"]
reading_time: 3
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# “Trait-ifying” our libraries to reduce transitive dependencies

**[Point-Free Pointers](https://daily.dev/sources/pointfree)** · 3 min read · 0 upvotes · 0 comments

## Summary

Point-Free is adopting SwiftPM traits across their Swift libraries to let users opt out of transitive dependencies they don't need. Using SwiftNavigation as a test bed, developers can now specify traits like `CasePaths` and `Perception` in Package.swift to avoid pulling in libraries like CustomDump, IssueReporting, and Sharing. The Dependencies library also supports traits to omit clock/Combine scheduler registrations and even Foundation/FoundationNetworking for Wasm and Android targets. Xcode provides a new UI for managing these traits. More libraries, including ComposableArchitecture 2.0, are getting the same treatment.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.pointfree.co/blog/posts/216-trait-ifying-our-libraries-to-reduce-transitive-dependencies>

## Similar posts on daily.dev

- [Hard Deprecations and Soft Landings with SwiftPM Traits](https://daily.dev/posts/hard-deprecations-and-soft-landings-with-swiftpm-traits-lmlpwv1xe) · Point-Free Pointers · 0 upvotes · 0 comments
- [All about Swift Package Manager Traits](https://daily.dev/posts/all-about-swift-package-manager-traits-wjzcv1hvn) · The.Swift.Dev. · 1 upvotes · 0 comments
- [Introducing: Point-Free Beta Previews](https://daily.dev/posts/introducing-point-free-beta-previews-caohf7a5h) · Point-Free Pointers · 0 upvotes · 0 comments

---

Tags: [#swift](https://daily.dev/tags/swift)

[View this post on daily.dev](https://daily.dev/posts/trait-ifying-our-libraries-to-reduce-transitive-dependencies-gsdlzsapv)
