|
| 1 | +# This file contains settings for `cargo hakari`. |
| 2 | +# See https://docs.rs/cargo-hakari/latest/cargo_hakari/config for a full list of options. |
| 3 | + |
| 4 | +hakari-package = "gear-workspace-hack" |
| 5 | + |
| 6 | +# Format version for hakari's output. Version 4 requires cargo-hakari 0.9.22 or above. |
| 7 | +dep-format-version = "4" |
| 8 | + |
| 9 | +# Setting workspace.resolver = "2" or higher in the root Cargo.toml is HIGHLY recommended. |
| 10 | +# Hakari works much better with the v2 resolver. (The v2 and v3 resolvers are identical from |
| 11 | +# hakari's perspective, so you're welcome to set either.) |
| 12 | +# |
| 13 | +# For more about the new feature resolver, see: |
| 14 | +# https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html#cargos-new-feature-resolver |
| 15 | +resolver = "3" |
| 16 | + |
| 17 | +# Add triples corresponding to platforms commonly used by developers here. |
| 18 | +# https://doc.rust-lang.org/rustc/platform-support.html |
| 19 | +platforms = [ |
| 20 | + "x86_64-unknown-linux-gnu", |
| 21 | + "aarch64-unknown-linux-gnu", |
| 22 | + "aarch64-apple-darwin" |
| 23 | +] |
| 24 | + |
| 25 | +# Write out exact versions rather than a semver range. (Defaults to false.) |
| 26 | +# exact-versions = true |
| 27 | + |
| 28 | +workspace-hack-line-style = "workspace-dotted" |
| 29 | + |
| 30 | +[final-excludes] |
| 31 | +third-party = [ |
| 32 | + # we have to exclude these deps because of their `try-runtime` and `runtime-benchmarks` features, |
| 33 | + # because we cannot, for example, run `cargo build --package gear-cli` without `--all-features` flag |
| 34 | + { name = "frame-benchmarking", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 35 | + { name = "frame-benchmarking-cli", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 36 | + { name = "frame-election-provider-support", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 37 | + { name = "frame-executive", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 38 | + { name = "frame-support", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 39 | + { name = "frame-system", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 40 | + { name = "frame-try-runtime", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 41 | + { name = "pallet-authority-discovery", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 42 | + { name = "pallet-authorship", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 43 | + { name = "pallet-babe", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 44 | + { name = "pallet-bags-list", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 45 | + { name = "pallet-balances", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 46 | + { name = "pallet-bounties", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 47 | + { name = "pallet-child-bounties", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 48 | + { name = "pallet-conviction-voting", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 49 | + { name = "pallet-election-provider-multi-phase", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 50 | + { name = "pallet-grandpa", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 51 | + { name = "pallet-identity", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 52 | + { name = "pallet-im-online", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 53 | + { name = "pallet-multisig", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 54 | + { name = "pallet-nomination-pools", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 55 | + { name = "pallet-offences", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 56 | + { name = "pallet-preimage", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 57 | + { name = "pallet-proxy", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 58 | + { name = "pallet-ranked-collective", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 59 | + { name = "pallet-referenda", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 60 | + { name = "pallet-scheduler", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 61 | + { name = "pallet-session", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 62 | + { name = "pallet-staking", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 63 | + { name = "pallet-sudo", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 64 | + { name = "pallet-timestamp", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 65 | + { name = "pallet-transaction-payment", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 66 | + { name = "pallet-treasury", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 67 | + { name = "pallet-utility", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 68 | + { name = "pallet-vesting", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 69 | + { name = "pallet-whitelist", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 70 | + { name = "sc-client-db", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 71 | + { name = "sc-service", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 72 | + { name = "sp-runtime", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 73 | + { name = "sp-staking", git = "https://github.com/gear-tech/polkadot-sdk.git", branch = "gear-polkadot-stable2409-wasm32v1-none" }, |
| 74 | +] |
0 commit comments