cap-std icon indicating copy to clipboard operation
cap-std copied to clipboard

Capability-oriented version of the Rust standard library

Results 29 cap-std issues
Sort by recently updated
recently updated
newest added

Hello 👋, I'm trying to implement some logic that extracts a zip file using `cap-primitives` and ran into a snag with how `fs::set_permissions` is currently implemented. In the [general UNIX...

The `read_link` function will return an error if the link's destination is an absolute path. There are three problems with this: * It _won't_ return an error if the link's...

Specifically with the option for those files/dirs to just be paths that don’t need to be opened when mounted. Note: When I say “mount” here this would only be internal...

Would adding a section to the Readme about this be welcome? Together with static analysis, I think cap-std can be used to reduce the necessary code review to know that...

On filesystems that do not support `O_TMPFILE` (e.g. `vfat`), TempFile::new() automatically falls back to a potentially world readable named temp file. Add TempFile::new_with_modes() to create temp files with a chosen...

https://github.com/lunatic-solutions/lunatic/issues/227 I get the following when trying to install cap-primitives on win10 x64 on the latest stable rust. ``` error[E0046]: not all trait items implemented, missing: `change_time` --> C:\Users\x\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cap-primitives-1.0.15\src\windows\fs\metadata_ext.rs:153:1 |...

Is there a simple way to create a directory if it does not yet exist and to return the `Dir`? Something along the lines of: ```rs async fn create_dir(parent: &Dir,...

Sometimes I'd like to be able to get the path for a `Dir`. For example, * logs or debugging * passing the path to a separate process * passing the...

* Backport build.rs fixes to 1.x. * Fix warnings on recent Rust compilers. * Fix the build of timezone.rs on recent Rust versions. * Use docsrs instead of doc_cfg. *...