-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
79 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,44 @@ | ||
[package] | ||
name = "extrasafe" | ||
[workspace] | ||
members = [ | ||
"extrasafe" | ||
] | ||
resolver = "2" | ||
|
||
[workspace.package] | ||
version = "0.5.1" | ||
authors = [ | ||
"Harry Stern <[email protected]>", | ||
] | ||
edition = "2021" | ||
authors = ["Harry Stern <[email protected]>",] | ||
description = "Make your code extrasafe by reducing what it can access." | ||
rust-version = "1.74.0" | ||
repository = "https://github.com/boustrophedon/extrasafe" | ||
license = "MIT" | ||
keywords = ["security", "seccomp", "landlock", "syscall"] | ||
categories = ["os::linux-apis"] | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
||
[features] | ||
landlock = ["dep:landlock"] | ||
isolate = [] | ||
|
||
[dependencies] | ||
seccompiler = { version = "^0.4", default-features = false } | ||
libc = "^0.2" | ||
syscalls = { version = "^0.6", default-features = false } | ||
landlock = { version ="^0.3", optional = true } | ||
categories = [ "os::linux-apis" ] | ||
|
||
[dev-dependencies] | ||
[workspace.dependencies] | ||
bytes = "^1" | ||
crossbeam = "^0.8" | ||
crossbeam-queue = "^0.3" | ||
crossbeam-channel = "^0.5" | ||
landlock = "^0.3" | ||
libc = "^0.2" | ||
rusqlite = "^0.26" | ||
tempfile = "^3" | ||
tokio = "^1.15" | ||
hyper = { version = "^0.14", features = ["http1", "server", "runtime", "tcp"] } | ||
warp = "^0.3" | ||
rusqlite = "^0.26" | ||
|
||
[target.'cfg(target_env = "musl")'.dev-dependencies] | ||
reqwest = { version = "^0.11", default-features = false, features = ["rustls-tls"] } | ||
[workspace.dependencies.hyper] | ||
version = "^0.14" | ||
features = [ "http1", "server", "runtime", "tcp" ] | ||
|
||
[workspace.dependencies.reqwest] | ||
version = "^0.11" | ||
default-features = false | ||
|
||
[workspace.dependencies.seccompiler] | ||
version = "^0.4" | ||
default-features = false | ||
|
||
[target.'cfg(not(target_env = "musl"))'.dev-dependencies] | ||
reqwest = { version = "^0.11" } | ||
[workspace.dependencies.syscalls] | ||
version = "^0.6" | ||
default-features = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[package] | ||
name = "extrasafe" | ||
version.workspace = true | ||
authors.workspace = true | ||
edition.workspace = true | ||
rust-version.workspace = true | ||
description = "Make your code extrasafe by reducing what it can access." | ||
documentation = "https://docs.rs/extrasafe/latest/extrasafe" | ||
readme = "README.md" | ||
#homepage = "" | ||
repository.workspace = true | ||
license.workspace = true | ||
keywords = [ "security", "seccomp", "landlock", "syscall" ] | ||
categories.workspace = true | ||
|
||
[package.metadata.docs.rs] | ||
all-features = true | ||
|
||
[features] | ||
landlock = [ "dep:landlock" ] | ||
isolate = [ ] | ||
|
||
[dependencies] | ||
libc.workspace = true | ||
seccompiler.workspace = true | ||
syscalls.workspace = true | ||
|
||
# Optional Dependencies: | ||
landlock = { workspace = true, optional = true } | ||
|
||
[dev-dependencies] | ||
bytes.workspace = true | ||
crossbeam.workspace = true | ||
crossbeam-queue.workspace = true | ||
crossbeam-channel.workspace = true | ||
hyper.workspace = true | ||
rusqlite.workspace = true | ||
tempfile.workspace = true | ||
tokio.workspace = true | ||
warp.workspace = true | ||
|
||
[target.'cfg(target_env = "musl")'.dev-dependencies.reqwest] | ||
workspace = true | ||
features = [ "rustls-tls" ] | ||
|
||
[target.'cfg(not(target_env = "musl"))'.dev-dependencies.reqwest] | ||
workspace = true | ||
features = [ "default" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# extrasafe |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.