# Package import contract status One row per target. The contract: the library target imports nothing beyond the Swift standard library; the test target imports only `PureYAML`, `Testing`, and `Foundation`. | Target | Allowed imports | Actual | State | |---|---|---|---| | `PureYAML` (library, `Sources/`) | Swift standard library only (no `Foundation`, no external packages) | zero `import` statements | matches | | `PureYAMLTests` (`Tests/`) | `PureYAML`, `Testing`, `Foundation` | `@testable import PureYAML`, `import Testing`, `import Foundation` | matches | Enforced mechanically by `scripts/check-forbidden-patterns.sh` (no `import` in `Sources/`) and `Package.swift` (`dependencies: []`).