Crate pop_common

Source

Re-exports§

pub use account_id::parse_account;
pub use build::Profile;
pub use errors::Error;
pub use git::Git;
pub use git::GitHub;
pub use git::Release;
pub use helpers::get_project_name_from_path;
pub use helpers::get_relative_or_absolute_path;
pub use helpers::prefix_with_current_dir_if_needed;
pub use helpers::replace_in_file;
pub use manifest::add_crate_to_workspace;
pub use manifest::find_workspace_toml;
pub use metadata::format_type;
pub use signer::create_signer;
pub use sourcing::set_executable_permission;
pub use templates::extractor::extract_template_files;
pub use test::test_project;

Modules§

account_id
Module for parsing and handling account IDs.
build
call
Provides functionality for making calls to parachains or smart contracts.
errors
git
helpers
manifest
metadata
Provides functionality for formatting and resolving metadata types.
polkadot_sdk
Parses and identifies the latest version tags for Polkadot SDK releases.
signer
Provides functionality for creating a signer from a secret URI.
sourcing
templates
test
Module for testing utilities and functionality.

Macros§

enum_variants
enum_variants_without_deprecated

Structs§

Keypair
An sr25519 keypair implementation. While the API is slightly different, the logic for this has been taken from sp_core::sr25519 and we test against this to ensure conformity.

Enums§

DefaultConfig
Default set of commonly used types by Polkadot nodes.

Traits§

Config
Runtime types.
Status
Trait for observing status updates.

Functions§

find_free_port
Checks if preferred port is available, otherwise returns a random available port.
target
Determines the target triple based on the current platform.