# This file contains settings for `cargo hakari`. # See https://docs.rs/cargo-hakari/*/cargo_hakari/config for a full list of options. hakari-package = "workspace-hack" # Setting workspace.resolver = "2" in the root Cargo.toml is HIGHLY recommended. # Hakari works much better with the new feature resolver. # For more about the new feature resolver, see: # https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#cargos-new-feature-resolver resolver = "2" # Add triples corresponding to platforms commonly used by developers here. # https://doc.rust-lang.org/rustc/platform-support.html platforms = [ "x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-pc-windows-msvc", ] # Write out exact versions rather than a semver range. (Defaults to false.) # exact-versions = true # Don't search in these crates for dependencies, and don't have these crates depend on the # workspace-hack crate. # # Lists most bench- or test-only crates except for query_tests, as that crate is built often # and should share as many dependencies as possible. Also lists optional object_store dependencies # as those are usually off in development. [traversal-excludes] workspace-members = [ "grpc-router", "grpc-router-test-gen", "influxdb_iox_client", "influxdb2_client", "iox_data_generator", "mutable_batch_tests", "server_benchmarks", ] third-party = [ { name = "azure_core", git = "https://github.com/Azure/azure-sdk-for-rust.git", rev = "cb5aba657fe378009c38e979434b2bc93ac0a3d5" }, { name = "azure_storage", git = "https://github.com/Azure/azure-sdk-for-rust.git", rev = "cb5aba657fe378009c38e979434b2bc93ac0a3d5" }, { name = "cloud-storage" }, { name = "criterion" }, { name = "pprof" }, { name = "rusoto_core" }, { name = "rusoto_credential" }, { name = "rusoto_s3" }, { name = "tikv-jemalloc-sys" }, ] # # Packages specified in final-excludes will be removed from the output at the very end. # This means that any transitive dependencies of theirs will still be included. # # Workspace crates excluded from the final output will not depend on the workspace-hack crate, # and cargo hakari manage-deps will remove dependency edges rather than adding them. # [final-excludes] workspace-members = [ # We don't want trogging to depend on workspace-hack so it can be used directly from the git repository # but we want its tracing-subscriber feature flags to propagate into the workspace-hack "trogging" ]