pina_cli 0.8.0

CLI tool for Pina Solana programs (IDL generation and more)
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "pina_cli"
version = "0.8.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI tool for Pina Solana programs (IDL generation and more)"
homepage = "https://pina.rs"
readme = "readme.md"
keywords = [
    "solana",
    "pinocchio",
]
license = "Apache-2.0"
repository = "https://github.com/pina-rs/pina"
resolver = "2"

[lib]
name = "pina_cli"
path = "src/lib.rs"

[[bin]]
name = "pina"
path = "src/main.rs"

[[test]]
name = "cli_snapshots"
path = "tests/cli_snapshots.rs"

[[test]]
name = "codama_idls"
path = "tests/codama_idls.rs"

[[test]]
name = "examples"
path = "tests/examples.rs"

[[test]]
name = "fixtures"
path = "tests/fixtures.rs"

[[test]]
name = "init_command"
path = "tests/init_command.rs"

[[test]]
name = "profile_command"
path = "tests/profile_command.rs"

[dependencies.clap]
version = "^4"
features = [
    "derive",
    "std",
]
default-features = false

[dependencies.codama-nodes]
version = "^0.7"
default-features = false

[dependencies.heck]
version = "^0.5"
default-features = true

[dependencies.pina_codama_renderer]
version = "0.8.0"
default-features = false

[dependencies.pina_profile]
version = "0.8.0"
default-features = false

[dependencies.proc-macro2]
version = "^1"
default-features = true

[dependencies.serde]
version = "^1"
features = ["derive"]
default-features = false

[dependencies.serde_json]
version = "^1"
features = ["std"]
default-features = false

[dependencies.syn]
version = "^2"
features = [
    "full",
    "full",
    "extra-traits",
    "visit",
]
default-features = true

[dependencies.thiserror]
version = "^2"
default-features = true

[dependencies.walkdir]
version = "^2"
default-features = false

[dev-dependencies.insta]
version = "^1"
features = ["json"]
default-features = false

[dev-dependencies.insta-cmd]
version = "0.6.0"

[dev-dependencies.object]
version = "0.36"
features = [
    "write",
    "elf",
    "std",
]

[dev-dependencies.serde_json]
version = "^1"
features = ["std"]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
blocks_in_conditions = "allow"
cargo_common_metadata = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
expl_impl_clone_on_copy = "allow"
items_after_statements = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
no_effect_underscore_binding = "allow"
tabs-in-doc-comments = "allow"
too_many_lines = "allow"
wildcard_dependencies = "deny"
wildcard_imports = "allow"

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
edition_2024_expr_fragment_specifier = "allow"
unsafe_code = "deny"
unstable_features = "deny"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
variant_size_differences = "warn"

[lints.rust.rust_2021_compatibility]
level = "warn"
priority = -1

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    'cfg(target_os, values("solana"))',
    'cfg(target_feature, values("static-syscalls"))',
]