capsec 0.2.2

Compile-time capability-based security for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0061]: this function takes 2 arguments but 1 argument was supplied
 --> tests/compile_fail/capsec_std_requires_cap.rs:3:13
  |
3 |     let _ = capsec::fs::read_to_string("/etc/passwd");
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^--------------- argument #2 of type `&_` is missing
  |
note: function defined here
 --> $WORKSPACE/crates/capsec-std/src/fs.rs
  |
  | pub fn read_to_string(
  |        ^^^^^^^^^^^^^^
help: provide the argument
  |
3 |     let _ = capsec::fs::read_to_string("/etc/passwd", /* cap */);
  |                                                     +++++++++++