Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bazhenov/safe-cargo
/ functions
Functions
18 in github.com/bazhenov/safe-cargo
⨍
Functions
18
◇
Types & classes
6
↓ 7 callers
Function
allow
(op: Operation, filters: impl IntoIterator<Item = Filter>)
src/lib.rs:251
↓ 1 callers
Function
deny
(op: Operation, filters: impl IntoIterator<Item = Filter>)
src/lib.rs:247
↓ 1 callers
Function
prepare_profile
(workspace: &Path, sandbox: &Path)
src/lib.rs:9
↓ 1 callers
Function
split_cargo_args
(mut args: Vec<T>)
src/main.rs:73
Method
as_str
(&self)
src/lib.rs:166
Function
check_complex_filters
()
src/lib.rs:313
Function
check_file_prefix_filter
()
src/lib.rs:263
Function
check_multiple_rules
()
src/lib.rs:296
Function
check_network_outbound
()
src/lib.rs:280
Function
check_split_cargo_args
()
src/main.rs:110
Function
cli
()
tests/cli.rs:2
Function
find_workspace_dir
(path: PathBuf)
src/main.rs:92
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
src/lib.rs:134
Function
main
()
src/main.rs:10
Function
main
()
examples/println.rs:1
Function
main
This test tries to write profile.sb file that describes the rules in the sandbox to make sure potential attacker can not override those rules
examples/write-profile.rs:5
Function
main
()
examples/write-to-homedir.rs:3
Function
main
()
examples/read-ssh-key.rs:3