From ff6d86b8fdfcff9c72c8c0abd583656089e0aee2 Mon Sep 17 00:00:00 2001 From: utam0k Date: Wed, 23 Feb 2022 17:32:16 +0900 Subject: [PATCH] Add the metadates for publishing a crate. Signed-off-by: utam0k --- Cargo.lock | 30 ++++++++++++++++++++++++++---- crates/libcgroups/Cargo.toml | 8 ++++++++ crates/libcgroups/README.md | 1 + crates/libcontainer/Cargo.toml | 8 +++++++- crates/libcontainer/README.md | 1 + crates/liboci-cli/Cargo.toml | 9 +++++++-- crates/youki/Cargo.toml | 8 +++++++- 7 files changed, 57 insertions(+), 8 deletions(-) create mode 100644 crates/libcgroups/README.md create mode 100644 crates/libcontainer/README.md diff --git a/Cargo.lock b/Cargo.lock index 6902525ba..e588d6a41 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1026,7 +1026,7 @@ dependencies = [ "rbpf", "serde", "serde_json", - "serial_test", + "serial_test 0.5.1", ] [[package]] @@ -1054,7 +1054,7 @@ dependencies = [ "rand", "serde", "serde_json", - "serial_test", + "serial_test 0.6.0", "wasmer", "wasmer-wasi", ] @@ -1936,6 +1936,17 @@ dependencies = [ "serde", ] +[[package]] +name = "serial_test" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0bccbcf40c8938196944a3da0e133e031a33f4d6b72db3bda3cc556e361905d" +dependencies = [ + "lazy_static", + "parking_lot", + "serial_test_derive 0.5.1", +] + [[package]] name = "serial_test" version = "0.6.0" @@ -1944,7 +1955,18 @@ checksum = "e5bcc41d18f7a1d50525d080fd3e953be87c4f9f1a974f3c21798ca00d54ec15" dependencies = [ "lazy_static", "parking_lot", - "serial_test_derive", + "serial_test_derive 0.6.0", +] + +[[package]] +name = "serial_test_derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b2acd6defeddb41eb60bb468f8825d0cfd0c2a76bc03bfd235b6a1dc4f6a1ad5" +dependencies = [ + "proc-macro2", + "quote", + "syn", ] [[package]] @@ -2746,7 +2768,7 @@ dependencies = [ "procfs", "serde", "serde_json", - "serial_test", + "serial_test 0.6.0", "tabwriter", "vergen", ] diff --git a/crates/libcgroups/Cargo.toml b/crates/libcgroups/Cargo.toml index 39ee33fb2..f88a1c075 100644 --- a/crates/libcgroups/Cargo.toml +++ b/crates/libcgroups/Cargo.toml @@ -1,9 +1,17 @@ [package] name = "libcgroups" version = "0.0.2" +description = "Library for cgroup" +license-file = "../../LICENSE" +documentation = "https://docs.rs/libcgroups" +repository = "https://github.com/containers/youki" +homepage = "https://containers.github.io/youki" +readme = "README.md" +authors = ["youki team"] edition = "2021" rust-version = "1.58.1" autoexamples = false +keywords = ["youki", "container", "cgroups"] [features] default = ["v1", "v2", "systemd"] diff --git a/crates/libcgroups/README.md b/crates/libcgroups/README.md new file mode 100644 index 000000000..6c10dbaf2 --- /dev/null +++ b/crates/libcgroups/README.md @@ -0,0 +1 @@ +# libcgroups diff --git a/crates/libcontainer/Cargo.toml b/crates/libcontainer/Cargo.toml index 861cc4052..dca5c380c 100644 --- a/crates/libcontainer/Cargo.toml +++ b/crates/libcontainer/Cargo.toml @@ -1,10 +1,16 @@ [package] name = "libcontainer" version = "0.0.2" +description = "Library for container control" +license-file = "../../LICENSE" +documentation = "https://docs.rs/libcontainer" +repository = "https://github.com/containers/youki" +homepage = "https://containers.github.io/youki" +readme = "README.md" authors = ["youki team"] edition = "2021" rust-version = "1.58.1" -description = "Library for container creation" +keywords = ["youki", "container", "cgroups"] [features] default = [] diff --git a/crates/libcontainer/README.md b/crates/libcontainer/README.md new file mode 100644 index 000000000..ec79d7057 --- /dev/null +++ b/crates/libcontainer/README.md @@ -0,0 +1 @@ +# libcontainer diff --git a/crates/liboci-cli/Cargo.toml b/crates/liboci-cli/Cargo.toml index e240ea3e9..a86616455 100644 --- a/crates/liboci-cli/Cargo.toml +++ b/crates/liboci-cli/Cargo.toml @@ -1,10 +1,15 @@ [package] name = "liboci-cli" version = "0.0.2" -authors = ["youki team"] -edition = "2021" description = "Parse command line arguments for OCI container runtimes" +license-file = "../../LICENSE" +documentation = "https://docs.rs/liboci-cli" +repository = "https://github.com/containers/youki" +homepage = "https://containers.github.io/youki" readme = "README.md" +authors = ["youki team"] +edition = "2021" +keywords = ["youki", "container", "oci"] [dependencies.clap] version = "3.0.0-beta.5" diff --git a/crates/youki/Cargo.toml b/crates/youki/Cargo.toml index 9cba98936..9aef4e035 100644 --- a/crates/youki/Cargo.toml +++ b/crates/youki/Cargo.toml @@ -1,10 +1,16 @@ [package] name = "youki" version = "0.0.2" +description = "A container runtime written in Rust" +license-file = "../../LICENSE" +documentation = "https://docs.rs/youki" +repository = "https://github.com/containers/youki" +homepage = "https://containers.github.io/youki" +readme = "../../README.md" authors = ["youki team"] edition = "2021" -description = "A container runtime written in Rust" build = "build.rs" +keywords = ["youki", "container"] [dependencies.clap] version = "3.0.0-beta.5"