docs.rs failed to build capsicum-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
capsicum-0.4.4
capsicum
Contain the awesome!
Rust bindings for the FreeBSD capsicum framework for OS capability and sandboxing
Prerequisites
Note: This currently only compiles on FreeBSD
Getting Started
Get the code
git clone https://github.com/danlrobertson/capsicum-rs
cd capsicum-rs
cargo build
Writing code using capsicum-rs
Entering capability mode
use ;
use File;
use Read;
let mut ok_file = open.unwrap;
let mut s = Stringnew;
enter.expect;
assert!;
match create
match ok_file.read_to_string
Limit capability rights to files
use ;
use File;
use Read;
let x = ;
let mut ok_file = open.unwrap;
let mut s = Stringnew;
let mut builder = new;
if x
let rights = builder.finalize.unwrap;
rights.limit.unwrap;
match ok_file.read_to_string