Skip to main content

crap4rust/invocation/
package_context.rs

1// Copyright 2026 Umberto Gotti <umberto.gotti@umbertogotti.dev>
2// Licensed under the MIT License
3// SPDX-License-Identifier: MIT
4
5use std::path::PathBuf;
6
7#[derive(Debug, Clone)]
8pub struct PackageContext {
9    pub name: String,
10    pub manifest_dir: PathBuf,
11    pub workspace_root: PathBuf,
12    pub source_roots: Vec<PathBuf>,
13    pub include_test_targets: bool,
14    pub exclude_paths: Vec<String>,
15}