MCPcopy Create free account

hub / github.com/cargo-bins/cargo-binstall / functions

Functions554 in github.com/cargo-bins/cargo-binstall

↓ 49 callersMethodinto_iter
(self)
crates/binstalk-manifests/src/binstall_crates_v1.rs:240
↓ 42 callersFunctionparse
()
crates/bin/src/args.rs:555
↓ 42 callersMethodpush
Insert new future into this resolver, they will start running right away.
crates/binstalk-fetchers/src/futures_resolver.rs:25
↓ 38 callersMethodnext
(&mut self)
crates/binstalk-downloader/src/remote/delay_request.rs:34
↓ 31 callersMethodis_empty
(&self)
crates/binstalk-manifests/src/binstall_crates_v1.rs:230
↓ 30 callersMethoditer
(&self)
crates/binstalk/src/errors.rs:47
↓ 26 callersMethodget
Create a new GET request.
crates/binstalk-downloader/src/remote.rs:382
↓ 18 callersMethodas_str
(&self)
crates/binstalk-fetchers/src/quickinstall.rs:85
↓ 18 callersMethodlen
(&self)
crates/binstalk-manifests/src/binstall_crates_v1.rs:226
↓ 14 callersMethodsend
(self, error_for_status: bool)
crates/binstalk-downloader/src/remote/request_builder.rs:42
↓ 13 callersMethodcontains
(&self, value: impl AsRef<str>)
crates/binstalk-manifests/src/binstall_crates_v1.rs:196
↓ 11 callersMethodtake
(&mut self, value: impl AsRef<str>)
crates/binstalk-manifests/src/binstall_crates_v1.rs:222
↓ 10 callersMethodpath
(&self)
crates/binstalk-downloader/src/download/async_tar_visitor.rs:32
↓ 7 callersMethodheader
(self, key: &str, value: &str)
crates/binstalk-downloader/src/remote/request_builder.rs:28
↓ 7 callersFunctioninner
( mut stream: S, task: Fut, tx: mpsc::Sender<Bytes>, )
crates/binstalk-downloader/src/utils.rs:21
↓ 7 callersMethodinsert
Adds a value to the set. If the set did not have an equal element present, true is returned. If the set did have an equal element present, false is re
crates/binstalk-manifests/src/binstall_crates_v1.rs:204
↓ 7 callersMethodstatus
(&self)
crates/binstalk-downloader/src/remote/request_builder.rs:78
↓ 7 callersMethodurl
(&self)
crates/binstalk-downloader/src/remote/request_builder.rs:82
↓ 6 callersFunctionappend_to_path
(path: impl AsRef<Path>, iter: Iter)
crates/binstalk-manifests/src/binstall_crates_v1.rs:41
↓ 6 callersFunctionassert_context_rendering
( data: &Data, target: &str, archive_format: &str, template: &str, exp
crates/binstalk-fetchers/src/gh_crate_meta.rs:547
↓ 6 callersFunctiondefault_path
()
crates/binstalk-manifests/src/binstall_crates_v1.rs:76
↓ 6 callersMethodinto_str
(self)
crates/binstalk-types/src/cargo_toml_binstall/target_triple.rs:129
↓ 6 callersMethodjson
(self)
crates/binstalk-downloader/src/remote/request_builder.rs:113
↓ 5 callersMethodand_extract
( self, fmt: PkgFmt, path: impl AsRef<Path>, )
crates/binstalk-downloader/src/download.rs:234
↓ 5 callersFunctionapply_filenames_to_paths
( paths: &'static [Template<'static>], filenames: &'static [&'static [Template<'static>]], suffix:
crates/binstalk-fetchers/src/gh_crate_meta/hosting.rs:111
↓ 5 callersMethodextend
Insert multiple futures into this resolver, they will start running right away.
crates/binstalk-fetchers/src/futures_resolver.rs:63
↓ 5 callersMethodget_auth_token
(&self)
crates/binstalk-git-repo-api/src/gh_api_client.rs:186
↓ 5 callersMethodinto_bytes
(self)
crates/binstalk-downloader/src/download.rs:272
↓ 5 callersMethodrewind
(&mut self)
crates/fs-lock/src/lib.rs:212
↓ 5 callersMethodset_status
(&self, status: Status)
crates/binstalk-fetchers/src/quickinstall.rs:149
↓ 5 callersMethodwrite_all
(&mut self, buf: &[u8])
crates/bin/src/logging.rs:156
↓ 4 callersMethodadd_file
`path` - must be canonical and must not be empty NOTE that if the entry for the `path` is previously set to a dir, it would be replaced with a file.
crates/binstalk-downloader/src/download/extracted_files.rs:36
↓ 4 callersMethodbytes
(self)
crates/binstalk-downloader/src/remote/request_builder.rs:59
↓ 4 callersMethodcfgs
Returns a list of all the `cfg(...)` options that apply to this triple.
crates/binstalk-types/src/cargo_toml_binstall/target_triple.rs:21
↓ 4 callersFunctioncreate_if_not_exist
Return exclusively locked file that is readable and writable.
crates/binstalk-manifests/src/helpers.rs:6
↓ 4 callersMethodfetch_crate_matched
Fetch the latest crate with `crate_name` and with version matching `version_req`.
crates/binstalk-registry/src/lib.rs:182
↓ 4 callersMethodget
(&self, k: K)
crates/binstalk-git-repo-api/src/gh_api_client.rs:121
↓ 4 callersMethodget_matching
Returns all matching overrides for a target, in order of precedence: exact name matches first, followed by `cfg(...)` matches in declaration order.
crates/binstalk-types/src/cargo_toml_binstall.rs:198
↓ 4 callersMethodinstall
(self, opts: &Options)
crates/binstalk/src/ops/resolve/resolution.rs:55
↓ 4 callersFunctionis_arch_supported
(arch: IMAGE_FILE_MACHINE)
crates/detect-targets/src/detect/windows.rs:62
↓ 4 callersFunctionpercent_decode_http_url_path
(input: &str)
crates/binstalk-git-repo-api/src/gh_api_client/common.rs:12
↓ 4 callersMethodprint
(&self, opts: &Options)
crates/binstalk/src/ops/resolve/resolution.rs:41
↓ 4 callersFunctionreport_err
(err: io::Error)
crates/bin/src/logging.rs:142
↓ 4 callersMethodset_file_path
Set path to the file for logging on unlock error, if feature tracing is enabled
crates/fs-lock/src/lib.rs:135
↓ 4 callersMethodspawn
(future: F)
crates/binstalk/src/helpers/tasks.rs:25
↓ 3 callersMethodadd_dir_inner
`path` - must be canonical and must not be empty NOTE that if the entry for the `path` is previously set to a dir, it would be replaced with a Dir en
crates/binstalk-downloader/src/download/extracted_files.rs:66
↓ 3 callersFunctionatomic_install
Atomically install a file, this atomically replace `dst` if it exists. This is a blocking function, must be called in `block_in_place` mode.
crates/atomic-file-install/src/lib.rs:80
↓ 3 callersMethodbearer_auth
(self, token: &dyn fmt::Display)
crates/binstalk-downloader/src/remote/request_builder.rs:21
↓ 3 callersFunctioncheck_http_status_and_header
(response: Response)
crates/binstalk-git-repo-api/src/gh_api_client/common.rs:21
↓ 3 callersMethodcmp
(&self, other: &Self)
crates/binstalk-types/src/crate_info.rs:49
↓ 3 callersMethodcrate_context
Add crate context to the error
crates/binstalk/src/errors.rs:505
↓ 3 callersMethoddedup
(self)
crates/binstalk-downloader/src/remote/delay_request.rs:14
↓ 3 callersMethoderror_for_status
(self)
crates/binstalk-downloader/src/remote/request_builder.rs:101
↓ 3 callersFunctionextract_with_blocking_decoder
( stream: S, path: &Path, f: F, )
crates/binstalk-downloader/src/download/async_extractor.rs:136
↓ 3 callersMethodfind
( it: &mut dyn Iterator<Item = Result<RegistryIndexEntry, JsonError>>, version_req: &VersionRe
crates/binstalk-registry/src/common.rs:172
↓ 3 callersMethodflattened_join
(self)
crates/binstalk/src/helpers/tasks.rs:67
↓ 3 callersMethodflush
(&self)
crates/bin/src/logging.rs:137
↓ 3 callersMethodget
(&self)
crates/binstalk/src/helpers/jobserver_client.rs:25
↓ 3 callersMethodget_repo_info
(&self, client: &GhApiClient)
crates/binstalk-fetchers/src/lib.rs:190
↓ 3 callersMethodhas_gh_token
(&self)
crates/binstalk-git-repo-api/src/gh_api_client.rs:194
↓ 3 callersMethodinto_cfgs
(self)
crates/binstalk-types/src/cargo_toml_binstall/target_triple.rs:95
↓ 3 callersFunctionis_arch_supported
(arch_name: &str)
crates/detect-targets/src/detect/macos.rs:24
↓ 3 callersMethodlink_dest
(&self)
crates/binstalk-bins/src/lib.rs:290
↓ 3 callersMethodload
()
crates/binstalk-manifests/src/cargo_config.rs:86
↓ 3 callersMethodmethod
(&self)
crates/binstalk-downloader/src/remote/request_builder.rs:86
↓ 3 callersMethodnormalize
(&self)
crates/normalize-path/src/lib.rs:47
↓ 3 callersFunctionparse_manifest
( client: Client, crate_name: &str, crate_url: Url, MatchedVersion { version, cksum }: Matched
crates/binstalk-registry/src/common.rs:64
↓ 3 callersMethodread
(&mut self, buf: &mut [u8])
crates/binstalk-downloader/src/utils.rs:130
↓ 3 callersMethodremote_client
(&self)
crates/binstalk-git-repo-api/src/gh_api_client.rs:163
↓ 3 callersMethodrender_url_with
(&self, template: &Template<'_>)
crates/binstalk-fetchers/src/gh_crate_meta.rs:528
↓ 3 callersMethodreplace
Return the previous `CrateInfo` for the package if there is any.
crates/binstalk-manifests/src/binstall_crates_v1.rs:209
↓ 3 callersMethodrequest
Create a new request.
crates/binstalk-downloader/src/remote.rs:374
↓ 3 callersMethodretain
Remove crates that `f(&data.crate_info)` returns `false`.
crates/binstalk-manifests/src/binstall_crates_v1.rs:218
↓ 3 callersMethodsend_request
`request` - `Request::try_clone` must always return `Some`.
crates/binstalk-downloader/src/remote.rs:287
↓ 3 callersMethodtarget
(&self)
crates/binstalk-fetchers/src/quickinstall.rs:301
↓ 3 callersMethodto_str
(self)
crates/binstalk-types/src/cargo_toml_binstall.rs:55
↓ 3 callersMethodurl
Get url of the registry
crates/binstalk-registry/src/lib.rs:204
↓ 3 callersMethodwrite
(&self, file: &mut File)
crates/bin/src/settings.rs:90
↓ 2 callersMethodadd_dir_if_has_parent
(&mut self, path: &Path)
crates/binstalk-downloader/src/download/extracted_files.rs:41
↓ 2 callersMethodadd_urls_to_delay
(&self, urls: &[&Url], delay_duration: Duration)
crates/binstalk-downloader/src/remote/delay_request.rs:150
↓ 2 callersFunctionatomic_install_noclobber
Install a file, this fails if the `dst` already exists. This is a blocking function, must be called in `block_in_place` mode.
crates/atomic-file-install/src/lib.rs:58
↓ 2 callersMethodbytes_stream
(self)
crates/binstalk-downloader/src/remote/request_builder.rs:63
↓ 2 callersMethodcall
(&mut self, req: Request)
crates/binstalk-downloader/src/remote/delay_request.rs:105
↓ 2 callersMethodcheck_retry_after
(&self)
crates/binstalk-git-repo-api/src/gh_api_client.rs:169
↓ 2 callersMethodcode
(&'a self)
crates/binstalk/src/errors.rs:78
↓ 2 callersMethodcollect_into_crates_versions
Return BTreeMap with crate name as key and its corresponding version as value.
crates/binstalk-manifests/src/cargo_crates_v1.rs:166
↓ 2 callersFunctionconfirm
()
crates/bin/src/ui.rs:22
↓ 2 callersFunctionconfirm_sync
(prompt: &str, default: bool)
crates/bin/src/ui.rs:39
↓ 2 callersFunctionconsume_stream
Make sure `stream` is an alias instead of taking the value to avoid exploding size of the future generated. Accept `FusedStream` only since the `stre
crates/binstalk-downloader/src/download.rs:183
↓ 2 callersMethodcontext
Attach context to [`GhApiError`]
crates/binstalk-git-repo-api/src/gh_api_client/error.rs:47
↓ 2 callersFunctioncopy_to_tempfile
(src: &Path, dst: &Path)
crates/atomic-file-install/src/lib.rs:26
↓ 2 callersFunctioncrate_prefix_components
Return components of crate prefix
crates/binstalk-registry/src/common.rs:92
↓ 2 callersFunctioncreate_client
Mark this as an async fn so that you won't accidentally use it in sync context.
crates/binstalk-registry/src/lib.rs:267
↓ 2 callersFunctioncreate_client
Mark this as an async fn so that you won't accidentally use it in sync context.
crates/binstalk-git-repo-api/src/gh_api_client.rs:520
↓ 2 callersMethoddata_verifier
(&self)
crates/binstalk-fetchers/src/signing.rs:24
↓ 2 callersFunctiondetect_targets
Detect the targets supported at runtime, which might be different from `TARGET` which is detected at compile-time. Return targets supported in the or
crates/detect-targets/src/detect.rs:36
↓ 2 callersMethoddo_fetch
( &self, graphql_func: GraphQLFn, restful_func: RestfulFn, data: &T, )
crates/binstalk-git-repo-api/src/gh_api_client.rs:198
↓ 2 callersMethoddownload_artifact
( &self, artifact_url: GhReleaseArtifactUrl, )
crates/binstalk-git-repo-api/src/gh_api_client.rs:297
↓ 2 callersFunctionfrom_file
(path: PathBuf)
crates/bin/src/git_credentials.rs:26
↓ 2 callersFunctionget_api_endpoint
()
crates/binstalk-git-repo-api/src/gh_api_client/common.rs:30
next →1–100 of 554, ranked by callers