Registry / build-tool / scratch

scratch

JSON →
library1.0.9rscratesunverified

Compile-time temporary directory shared by multiple crates and erased by `cargo clean`.

# Cargo.toml [dependencies] scratch = "1.0.9"
INSTALL
IMPORT
SIG · SCRATCH
S
scratch
build-toolrustv1.0.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

path
use scratch::path;

Get the compile-time scratch directory path.

use scratch::path; fn main() { let dir = path!(); println!("{}", dir.display()); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.9latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
OpenAI (training)
1
Resources
scratch — cargo add scratch · libregistry