Docs.rs
  • proto_core-0.14.1
    • proto_core 0.14.1
    • Docs.rs crate page
    • MIT
    • Links
    • Homepage
    • Repository
    • crates.io
    • Source
    • Owners
    • milesj
    • Dependencies
      • cached ^0.44.0 normal
      • extism ^0.4.0 normal
      • fs4 ^0.6.6 normal
      • human-sort ^0.2.2 normal
      • miette ^5.9.0 normal
      • once_cell ^1.18.0 normal
      • proto_pdk_api ^0.4.1 normal
      • proto_wasm_plugin ^0.4.1 normal
      • regex ^1.9.0 normal
      • reqwest ^0.11.18 normal
      • semver ^1.0.17 normal
      • serde ^1.0.167 normal
      • serde_json ^1.0.100 normal
      • sha2 ^0.10.7 normal
      • starbase_archive ^0.1.8 normal
      • starbase_styles ^0.1.12 normal
      • starbase_utils ^0.2.17 normal
      • thiserror ^1.0.40 normal
      • tinytemplate ^1.2.1 normal
      • tracing ^0.1.37 normal
      • url ^2.4.0 normal
      • warpgate ^0.3.1 normal
      • starbase_sandbox ^0.1.8 dev
    • Versions
    • 0% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Crate proto_core

  • Version 0.14.1
  • All Items
  • Structs
  • Enums
  • Constants
  • Statics
  • Functions
?
Change settings

Crate proto_core

source ·

Structs

  • ProtoEnvironment
  • ShimContext
  • Tool
  • ToolManifest
  • ToolManifestVersion
  • ToolsConfig
  • UserConfig
  • Version
    SemVer version as defined by https://semver.org.
  • VersionReq
    SemVer version requirement describing the intersection of some version comparators, such as >=1.2.3, <1.8.
  • VersionResolver

Enums

  • AliasOrVersion
  • ProtoError
  • VersionType

Constants

  • MANIFEST_NAME
  • SHIM_VERSION
  • TOOLS_CONFIG_NAME
  • USER_CONFIG_NAME

Statics

  • CLEAN_VERSION
  • ENV_VAR
  • IS_OFFLINE
    Cached static for the is_offline function.

Functions

  • add_v_prefix
  • create_global_shim
  • create_local_shim
  • detect_version
  • download_from_url
  • get_bin_dir
  • get_home_dir
  • get_plugins_dir
  • get_root
  • get_shim_file_name
  • get_temp_dir
  • get_tools_dir
  • hash_file_contents
  • is_alias_name
  • is_archive_file
  • is_cache_enabled
  • is_offline
    This is a cached function that uses the IS_OFFLINE cached static.
  • is_offline_prime_cache
    Primes the cached function is_offline.
  • match_highest_version
  • remove_space_after_gtlt
  • remove_v_prefix
  • resolve_version