|
| 1 | +# paths = ["/path/to/override"] # path dependency overrides |
| 2 | + |
| 3 | +[alias] # command aliases |
| 4 | +install_soroban = "install --version 20.2.0 --root ./target soroban-cli --debug" |
| 5 | +# b = "build --target wasm32-unknown-unknown --release" |
| 6 | +# c = "check" |
| 7 | +# t = "test" |
| 8 | +# r = "run" |
| 9 | +# rr = "run --release" |
| 10 | +# recursive_example = "rr --example recursions" |
| 11 | +# space_example = ["run", "--release", "--", "\"command list\""] |
| 12 | + |
| 13 | +[build] |
| 14 | +# jobs = 1 # number of parallel jobs, defaults to # of CPUs |
| 15 | +# rustc = "rustc" # the rust compiler tool |
| 16 | +# rustc-wrapper = "…" # run this wrapper instead of `rustc` |
| 17 | +# rustc-workspace-wrapper = "…" # run this wrapper instead of `rustc` for workspace members |
| 18 | +# rustdoc = "rustdoc" # the doc generator tool |
| 19 | +# target = "wasm32-unknown-unknown" # build for the target triple (ignored by `cargo install`) |
| 20 | +# target-dir = "target" # path of where to place all generated artifacts |
| 21 | +# rustdocflags = ["…", "…"] # custom flags to pass to rustdoc |
| 22 | +# incremental = true # whether or not to enable incremental compilation |
| 23 | +# dep-info-basedir = "…" # path for the base directory for targets in depfiles |
| 24 | + |
| 25 | +# [doc] |
| 26 | +# browser = "chromium" # browser to use with `cargo doc --open`, |
| 27 | +# # overrides the `BROWSER` environment variable |
| 28 | + |
| 29 | +# [env] |
| 30 | +# # Set ENV_VAR_NAME=value for any process run by Cargo |
| 31 | +# ENV_VAR_NAME = "value" |
| 32 | +# # Set even if already present in environment |
| 33 | +# ENV_VAR_NAME_2 = { value = "value", force = true } |
| 34 | +# # Value is relative to .cargo directory containing `config.toml`, make absolute |
| 35 | +# ENV_VAR_NAME_3 = { value = "relative/path", relative = true } |
| 36 | + |
| 37 | +# [future-incompat-report] |
| 38 | +# frequency = 'always' # when to display a notification about a future incompat report |
| 39 | + |
| 40 | +# [cargo-new] |
| 41 | +# vcs = "none" # VCS to use ('git', 'hg', 'pijul', 'fossil', 'none') |
| 42 | + |
| 43 | +# [http] |
| 44 | +# debug = false # HTTP debugging |
| 45 | +# proxy = "host:port" # HTTP proxy in libcurl format |
| 46 | +# ssl-version = "tlsv1.3" # TLS version to use |
| 47 | +# ssl-version.max = "tlsv1.3" # maximum TLS version |
| 48 | +# ssl-version.min = "tlsv1.1" # minimum TLS version |
| 49 | +# timeout = 30 # timeout for each HTTP request, in seconds |
| 50 | +# low-speed-limit = 10 # network timeout threshold (bytes/sec) |
| 51 | +# cainfo = "cert.pem" # path to Certificate Authority (CA) bundle |
| 52 | +# check-revoke = true # check for SSL certificate revocation |
| 53 | +# multiplexing = true # HTTP/2 multiplexing |
| 54 | +# user-agent = "…" # the user-agent header |
| 55 | + |
| 56 | +# [install] |
| 57 | +# root = "/some/path" # `cargo install` destination directory |
| 58 | + |
| 59 | +# [net] |
| 60 | +# retry = 2 # network retries |
| 61 | +# git-fetch-with-cli = true # use the `git` executable for git operations |
| 62 | +# offline = true # do not access the network |
| 63 | + |
| 64 | +# [net.ssh] |
| 65 | +# known-hosts = ["..."] # known SSH host keys |
| 66 | + |
| 67 | +# [patch.<registry>] |
| 68 | +# # Same keys as for [patch] in Cargo.toml |
| 69 | + |
| 70 | +# [profile.<name>] # Modify profile settings via config. |
| 71 | +# inherits = "dev" # Inherits settings from [profile.dev]. |
| 72 | +# opt-level = 0 # Optimization level. |
| 73 | +# debug = true # Include debug info. |
| 74 | +# split-debuginfo = '...' # Debug info splitting behavior. |
| 75 | +# debug-assertions = true # Enables debug assertions. |
| 76 | +# overflow-checks = true # Enables runtime integer overflow checks. |
| 77 | +# lto = false # Sets link-time optimization. |
| 78 | +# panic = 'unwind' # The panic strategy. |
| 79 | +# incremental = true # Incremental compilation. |
| 80 | +# codegen-units = 16 # Number of code generation units. |
| 81 | +# rpath = false # Sets the rpath linking option. |
| 82 | +# [profile.<name>.build-override] # Overrides build-script settings. |
| 83 | +# # Same keys for a normal profile. |
| 84 | +# [profile.<name>.package.<name>] # Override profile for a package. |
| 85 | +# # Same keys for a normal profile (minus `panic`, `lto`, and `rpath`). |
| 86 | + |
| 87 | +# [registries.<name>] # registries other than crates.io |
| 88 | +# index = "…" # URL of the registry index |
| 89 | +# token = "…" # authentication token for the registry |
| 90 | + |
| 91 | +# [registry] |
| 92 | +# default = "…" # name of the default registry |
| 93 | +# token = "…" # authentication token for crates.io |
| 94 | + |
| 95 | +# [source.<name>] # source definition and replacement |
| 96 | +# replace-with = "…" # replace this source with the given named source |
| 97 | +# directory = "…" # path to a directory source |
| 98 | +# registry = "…" # URL to a registry source |
| 99 | +# local-registry = "…" # path to a local registry source |
| 100 | +# git = "…" # URL of a git repository source |
| 101 | +# branch = "…" # branch name for the git repository |
| 102 | +# tag = "…" # tag name for the git repository |
| 103 | +# rev = "…" # revision for the git repository |
| 104 | + |
| 105 | +# [target.<triple>] |
| 106 | +# linker = "…" # linker to use |
| 107 | +# runner = "…" # wrapper to run executables |
| 108 | +# rustflags = ["…", "…"] # custom flags for `rustc` |
| 109 | + |
| 110 | +# [target.<cfg>] |
| 111 | +# runner = "…" # wrapper to run executables |
| 112 | +# rustflags = ["…", "…"] # custom flags for `rustc` |
| 113 | + |
| 114 | +# [target.<triple>.<links>] # `links` build script override |
| 115 | +# rustc-link-lib = ["foo"] |
| 116 | +# rustc-link-search = ["/path/to/foo"] |
| 117 | +# rustc-flags = ["-L", "/some/path"] |
| 118 | +# rustc-cfg = ['key="value"'] |
| 119 | +# rustc-env = {key = "value"} |
| 120 | +# rustc-cdylib-link-arg = ["…"] |
| 121 | +# metadata_key1 = "value" |
| 122 | +# metadata_key2 = "value" |
| 123 | + |
| 124 | +# [term] |
| 125 | +# quiet = false # whether cargo output is quiet |
| 126 | +# verbose = false # whether cargo provides verbose output |
| 127 | +# color = 'auto' # whether cargo colorizes output |
| 128 | +# progress.when = 'auto' # whether cargo shows progress bar |
| 129 | +# progress.width = 80 # width of progress bar |
0 commit comments