forked from containers/composefs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The current Rust crate is `composefs-core` and is a relatively thin wrapper for what is currently in the composefs tooling. Prep for adding a new `composefs-oci`. Signed-off-by: Colin Walters <[email protected]>
- Loading branch information
Showing
5 changed files
with
44 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,27 +1,18 @@ | ||
[package] | ||
name = "composefs" | ||
version = "0.1.0" | ||
edition = "2021" | ||
description = "Rust composefs" | ||
keywords = ["composefs", "oci", "opencontainers", "docker", "podman"] | ||
license = "MIT" | ||
repository = "https://github.com/containers/composefs" | ||
rust-version = "1.70.0" | ||
[workspace] | ||
members = ["rust/composefs-core"] | ||
resolver = "2" | ||
|
||
include = [ | ||
"/COPYING", | ||
"/README.md", | ||
"/rust/**", | ||
] | ||
[profile.dev] | ||
opt-level = 1 # No optimizations are too slow for us. | ||
|
||
[lib] | ||
name = "composefs" | ||
path = "rust/src/lib.rs" | ||
[profile.release] | ||
lto = "thin" | ||
# No need to support unwinding | ||
panic = "abort" | ||
# We assume we're being delivered via e.g. RPM which supports split debuginfo | ||
debug = true | ||
|
||
[dependencies] | ||
anyhow = "1.0" | ||
libc = "0.2" | ||
|
||
[dev-dependencies] | ||
tar = "0.4.38" | ||
tempfile = "3.2.0" | ||
[profile.releaselto] | ||
codegen-units = 1 | ||
inherits = "release" | ||
lto = "yes" |
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,27 @@ | ||
[package] | ||
name = "composefs" | ||
version = "0.1.0" | ||
edition = "2021" | ||
description = "Rust composefs" | ||
keywords = ["composefs", "oci", "opencontainers", "docker", "podman"] | ||
license = "MIT" | ||
repository = "https://github.com/containers/composefs" | ||
rust-version = "1.70.0" | ||
|
||
include = [ | ||
"/COPYING", | ||
"/README.md", | ||
"/rust/composefs-core/**", | ||
] | ||
|
||
[lib] | ||
name = "composefs" | ||
path = "src/lib.rs" | ||
|
||
[dependencies] | ||
anyhow = "1.0" | ||
libc = "0.2" | ||
|
||
[dev-dependencies] | ||
tar = "0.4.38" | ||
tempfile = "3.2.0" |
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
File renamed without changes.
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