Skip to content

Commit

Permalink
Re-export syscalls crate
Browse files Browse the repository at this point in the history
- Re-export so user does not have to include in dependencies
- Disable its std and serde features for faster compile times
  • Loading branch information
boustrophedon committed Jul 10, 2023
1 parent e4733cb commit d11aac8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
unreleased
----------
- reexport syscalls dependency

0.1.4
-----
- impl RuleSet for &RuleSet
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ categories = ["os::linux-apis"]
[dependencies]
libseccomp = "^0.3"
libc = "^0.2"
syscalls = "^0.6"
syscalls = { version = "^0.6", default-features = false }

[dev-dependencies]
bytes = "^1"
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

use libseccomp::*;

pub use syscalls;

pub mod builtins;

use std::collections::HashMap;
Expand Down

0 comments on commit d11aac8

Please sign in to comment.