Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
523 changes: 523 additions & 0 deletions projspec-rs/CODEGEN.md

Large diffs are not rendered by default.

61 changes: 61 additions & 0 deletions projspec-rs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
[package]
name = "projspec-rs"
version = "0.1.0"
edition = "2024"
description = "Rust port of the projspec project-introspection library and CLI"
authors = ["projspec contributors"]

[[bin]]
name = "projspec"
path = "src/main.rs"

[lib]
name = "projspec_rs"
path = "src/lib.rs"

[dependencies]
# CLI
clap = { version = "4", features = ["derive", "env"] }

# Serialisation
serde = { version = "1", features = ["derive"] }
serde_json = "1"

# TOML parsing
toml = "0.8"

# YAML parsing
serde_yaml = "0.9"

# Regex
regex = "1"

# Filesystem helpers (used by artifact/create/library modules only)
walkdir = "2"
glob = "0.3"

# Error handling
anyhow = "1"
thiserror = "2"

# Home dir (~/.config)
dirs = "6"

# Virtual filesystem — opendal blocking API + backends we support
opendal = { version = "0.55", features = [
"blocking",
"services-fs",
"services-memory",
"services-http",
"services-s3",
] }

# Async runtime required by opendal's blocking wrapper
tokio = { version = "1", features = ["rt-multi-thread"] }

# Parallel prefetch of project files
rayon = "1"

[dev-dependencies]
tempfile = "3"
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
Loading
Loading