diff --git a/src/api_server/Cargo.toml b/src/api_server/Cargo.toml index 23792ed5a20..cd29a75c58e 100644 --- a/src/api_server/Cargo.toml +++ b/src/api_server/Cargo.toml @@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team "] edition = "2021" license = "Apache-2.0" +[lib] +bench = false + [dependencies] libc = "0.2.117" serde = { version = "1.0.136", features = ["derive"] } diff --git a/src/cpu-template-helper/Cargo.toml b/src/cpu-template-helper/Cargo.toml index 1019b6bc1ed..1aee2cb1ffc 100644 --- a/src/cpu-template-helper/Cargo.toml +++ b/src/cpu-template-helper/Cargo.toml @@ -7,6 +7,10 @@ build = "../../build.rs" license = "Apache-2.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[[bin]] +name = "cpu-template-helper" +bench = false + [dependencies] clap = { version = "4.3.0", features = ["derive", "string"] } libc = "0.2.117" diff --git a/src/dumbo/Cargo.toml b/src/dumbo/Cargo.toml index 73b14e19042..670bb37542c 100644 --- a/src/dumbo/Cargo.toml +++ b/src/dumbo/Cargo.toml @@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team "] edition = "2021" license = "Apache-2.0" +[lib] +bench = false + [dependencies] bitflags = "1.3.2" derive_more = { version = "0.99.17", default-features = false, features = ["from"] } diff --git a/src/firecracker/Cargo.toml b/src/firecracker/Cargo.toml index f06dbf3e6e1..930557adc1c 100644 --- a/src/firecracker/Cargo.toml +++ b/src/firecracker/Cargo.toml @@ -8,6 +8,10 @@ description = "Firecracker enables you to deploy workloads in lightweight virtua homepage = "https://firecracker-microvm.github.io/" license = "Apache-2.0" +[[bin]] +name = "firecracker" +bench = false + [dependencies] event-manager = "0.3.0" libc = "0.2.117" diff --git a/src/jailer/Cargo.toml b/src/jailer/Cargo.toml index 2285c454ff8..a766c4afdf0 100644 --- a/src/jailer/Cargo.toml +++ b/src/jailer/Cargo.toml @@ -8,6 +8,10 @@ description = "Process for starting Firecracker in production scenarios; applies homepage = "https://firecracker-microvm.github.io/" license = "Apache-2.0" +[[bin]] +name = "jailer" +bench = false + [dependencies] libc = "0.2.117" nix = { version = "0.26.2", default-features = false, features = ["dir"] } diff --git a/src/logger/Cargo.toml b/src/logger/Cargo.toml index 09dbe13bae1..93df368d04a 100644 --- a/src/logger/Cargo.toml +++ b/src/logger/Cargo.toml @@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team "] edition = "2021" license = "Apache-2.0" +[lib] +bench = false + [dependencies] lazy_static = "1.4.0" libc = "0.2.117" diff --git a/src/mmds/Cargo.toml b/src/mmds/Cargo.toml index 2124e067d53..151b855e91f 100644 --- a/src/mmds/Cargo.toml +++ b/src/mmds/Cargo.toml @@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team "] edition = "2021" license = "Apache-2.0" +[lib] +bench = false + [dependencies] aes-gcm = { version = "0.10.1", default-features = false, features = ["aes"] } base64 = "0.13.0" diff --git a/src/net_gen/Cargo.toml b/src/net_gen/Cargo.toml index d1b520ca1c0..5db2b9c1eb8 100644 --- a/src/net_gen/Cargo.toml +++ b/src/net_gen/Cargo.toml @@ -4,3 +4,6 @@ version = "0.1.0" authors = ["The Chromium OS Authors"] edition = "2021" license = "Apache-2.0" + +[lib] +bench = false diff --git a/src/rate_limiter/Cargo.toml b/src/rate_limiter/Cargo.toml index d9f12a05c94..e206f5763eb 100644 --- a/src/rate_limiter/Cargo.toml +++ b/src/rate_limiter/Cargo.toml @@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team "] edition = "2021" license = "Apache-2.0" +[lib] +bench = false + [dependencies] timerfd = "1.2.0" versionize = "0.1.10" diff --git a/src/rebase-snap/Cargo.toml b/src/rebase-snap/Cargo.toml index 3aab0ab8b11..f159696ab3a 100644 --- a/src/rebase-snap/Cargo.toml +++ b/src/rebase-snap/Cargo.toml @@ -6,6 +6,10 @@ edition = "2021" build = "../../build.rs" license = "Apache-2.0" +[[bin]] +name = "rebase-snap" +bench = false + [dependencies] libc = "0.2.117" diff --git a/src/seccompiler/Cargo.toml b/src/seccompiler/Cargo.toml index d38b885278d..774bdd2cf9e 100644 --- a/src/seccompiler/Cargo.toml +++ b/src/seccompiler/Cargo.toml @@ -8,9 +8,13 @@ description = "Program that compiles multi-threaded seccomp-bpf filters expresse homepage = "https://firecracker-microvm.github.io/" license = "Apache-2.0" +[lib] +bench = false + [[bin]] name = "seccompiler-bin" path = "src/seccompiler_bin.rs" +bench = false [dependencies] bincode = "1.2.1" diff --git a/src/snapshot/Cargo.toml b/src/snapshot/Cargo.toml index 63e6c504a8c..058efa139d8 100644 --- a/src/snapshot/Cargo.toml +++ b/src/snapshot/Cargo.toml @@ -6,6 +6,9 @@ edition = "2021" autobenches = false license = "Apache-2.0" +[lib] +bench = false + [dependencies] libc = "0.2.117" versionize = "0.1.10" diff --git a/src/utils/Cargo.toml b/src/utils/Cargo.toml index 4a8af224ade..47fc4cb1165 100644 --- a/src/utils/Cargo.toml +++ b/src/utils/Cargo.toml @@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team "] edition = "2021" license = "Apache-2.0" +[lib] +bench = false + [dependencies] derive_more = { version = "0.99.17", default-features = false, features = ["from"] } libc = "0.2.117" diff --git a/src/virtio_gen/Cargo.toml b/src/virtio_gen/Cargo.toml index 252dff9e18a..788035cf41a 100644 --- a/src/virtio_gen/Cargo.toml +++ b/src/virtio_gen/Cargo.toml @@ -5,4 +5,7 @@ authors = ["The Chromium OS Authors"] edition = "2021" license = "Apache-2.0" +[lib] +bench = false + [dependencies] diff --git a/src/vmm/Cargo.toml b/src/vmm/Cargo.toml index 220d8e3b414..d33e37f3e56 100644 --- a/src/vmm/Cargo.toml +++ b/src/vmm/Cargo.toml @@ -5,6 +5,9 @@ authors = ["Amazon Firecracker team "] edition = "2021" license = "Apache-2.0" +[lib] +bench = false + [dependencies] aws-lc-rs = "1.0.2" bitflags = "2.0.2"