45 lines
1.2 KiB
TOML
45 lines
1.2 KiB
TOML
# file: Cargo.toml
|
|
# version: 29
|
|
|
|
[workspace]
|
|
resolver = "3"
|
|
members = ["crates/ksp-core-lib", "crates/ksp-logging-lib"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.2-pre.3"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
repository = "https://git.sasedev.com/Sasedev/khadhroony-solana-project"
|
|
authors = ["SinuS von SifriduS <sinus@sasedev.net>"]
|
|
publish = false
|
|
|
|
[workspace.dependencies]
|
|
solana-pubkey = { version = "^4.3", default-features = false }
|
|
tracing = { version = "^0.1", default-features = false, features = ["std"] }
|
|
tracing-subscriber = { version = "^0.3", default-features = false, features = ["fmt"] }
|
|
|
|
[workspace.lints.rust]
|
|
missing_docs = "warn"
|
|
unreachable_pub = "deny"
|
|
unsafe_code = "forbid"
|
|
|
|
[workspace.lints.clippy]
|
|
unwrap_used = "deny"
|
|
expect_used = "deny"
|
|
implicit_return = "deny"
|
|
needless_return = "allow"
|
|
useless_vec = "deny"
|
|
question_mark = "deny"
|
|
question_mark_used = "deny"
|
|
needless_match = "allow"
|
|
manual_ok_err = "allow"
|
|
manual_unwrap_or = "allow"
|
|
manual_map = "allow"
|
|
match_like_matches_macro = "allow"
|
|
single_match = "allow"
|
|
manual_unwrap_or_default = "allow"
|
|
manual_find = "allow"
|
|
explicit_counter_loop = "allow"
|
|
get_first = "allow"
|
|
implicit_saturating_sub = "allow"
|