Files
uv/crates/puffin-git/Cargo.toml
T
Charlie Marsh f4939e50a6 Remove UNC prefixes on Windows (#1086)
## Summary

This PR adds a `NormalizedDisplay` trait that we can use for user-facing
paths, to strip the UNC prefix on Windows.

On other platforms, the implementation is a no-op (vs. `Display`).

I audited all usages of `.display()`, and changed any that were
user-facing, either via `println!` or `eprintln!`, or by way of being
included in error messages. I did _not_ change uses that were only in
tests or only went to tracing.

Closes https://github.com/astral-sh/puffin/issues/1084.
2024-01-25 11:44:22 -05:00

35 lines
881 B
TOML

[package]
name = "puffin-git"
version = "0.0.1"
edition = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }
documentation = { workspace = true }
repository = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
[lints]
workspace = true
[dependencies]
cache-key = { path = "../cache-key" }
puffin-fs = { path = "../puffin-fs" }
anyhow = { workspace = true }
cargo-util = { workspace = true }
git2 = { workspace = true }
glob = { workspace = true }
hex = { workspace = true }
once_cell = { workspace = true }
rand = { workspace = true }
serde = { workspace = true }
tracing = { workspace = true }
url = { workspace = true }
reqwest = { workspace = true, features = ["blocking"] }
tokio = { workspace = true }
[features]
vendored-libgit2 = ["git2/vendored-libgit2"]
vendored-openssl = ["git2/vendored-openssl"]