Docs.rs
cargo-util-0.2.15
cargo-util 0.2.15
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
rust-lang-owner
github:rust-lang:release-publishers
Dependencies
anyhow ^1.0.86
normal
filetime ^0.2.23
normal
hex ^0.4.3
normal
ignore ^0.4.22
normal
jobserver ^0.1.32
normal
same-file ^1.0.6
normal
sha2 ^0.10.8
normal
shell-escape ^0.1.5
normal
tempfile ^3.10.1
normal
tracing ^0.1.40
normal
walkdir ^2.5.0
normal
core-foundation ^0.9.4
normal
libc ^0.2.155
normal
miow ^0.6.0
normal
windows-sys ^0.59
normal
Versions
94.59%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
cargo_
util
0.2.15
In cargo_
util::
paths
cargo_util
::
paths
Function
path2bytes
Copy item path
source
pub fn path2bytes(path: &
Path
) ->
Result
<&[
u8
]>
Expand description
Converts a path to UTF-8 bytes.