Skip to content

Commit 1bfc253

Browse files
committed
Format TOML files with tombi
This is just a formatting change. Reproduce by running: ```bash tombi format ``` In the workspace root folder.
1 parent 756e886 commit 1bfc253

File tree

11 files changed

+68
-67
lines changed

11 files changed

+68
-67
lines changed

.github/cliff.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ body = """
2323
trim = true
2424
footer = """
2525
"""
26-
postprocessors = [ ]
26+
postprocessors = []
27+
2728
[git]
2829
# parse the commits based on https://www.conventionalcommits.org
2930
conventional_commits = true
@@ -35,10 +36,10 @@ split_commits = false
3536
commit_preprocessors = []
3637
# regex for parsing and grouping commits
3738
commit_parsers = [
38-
{ message = "^build\\(deps\\)", skip = true },
39-
{ message = "^build\\(deps-dev\\)", skip = true },
40-
{ message = "^ci", skip = true },
41-
{ body = ".*", group = "Changes" },
39+
{ message = "^build\\(deps\\)", skip = true },
40+
{ message = "^build\\(deps-dev\\)", skip = true },
41+
{ message = "^ci", skip = true },
42+
{ body = ".*", group = "Changes" },
4243
]
4344
# protect breaking changes from being skipped due to matching a skipping commit_parser
4445
protect_breaking_commits = false
@@ -55,4 +56,4 @@ topo_order = false
5556
# sort the commits inside sections by oldest/newest order
5657
sort_commits = "newest"
5758
# limit the number of commits included in the changelog.
58-
# limit_commits = 42
59+
# limit_commits = 42

Cargo.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
[workspace]
22
resolver = "2"
33
members = [
4-
"programs/associated-token-account",
5-
"programs/memo",
6-
"programs/system",
7-
"programs/token",
8-
"programs/token-2022",
9-
"sdk/log/crate",
10-
"sdk/log/macro",
11-
"sdk/pinocchio",
12-
"sdk/pubkey",
4+
"programs/associated-token-account",
5+
"programs/memo",
6+
"programs/system",
7+
"programs/token",
8+
"programs/token-2022",
9+
"sdk/log/crate",
10+
"sdk/log/macro",
11+
"sdk/pinocchio",
12+
"sdk/pubkey",
1313
]
1414

1515
[workspace.package]
1616
edition = "2021"
17-
license = "Apache-2.0"
18-
repository = "https://github.com/anza-xyz/pinocchio"
1917
rust-version = "1.79"
18+
repository = "https://github.com/anza-xyz/pinocchio"
19+
license = "Apache-2.0"
2020

2121
[workspace.dependencies]
2222
five8_const = "0.1.4"
23-
pinocchio = { version = "0.9", path = "sdk/pinocchio" }
24-
pinocchio-log-macro = { version = "0.5", path = "sdk/log/macro" }
25-
pinocchio-pubkey = { version = "0.3", path = "sdk/pubkey" }
23+
pinocchio = { path = "sdk/pinocchio", version = "0.9" }
24+
pinocchio-log-macro = { path = "sdk/log/macro", version = "0.5" }
25+
pinocchio-pubkey = { path = "sdk/pubkey", version = "0.3" }
2626
quote = "1.0"
2727
regex = "1"
2828
syn = "1.0"

programs/associated-token-account/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "pinocchio-associated-token-account"
3-
description = "Pinocchio helpers to invoke Associated Token Account program instructions"
43
version = "0.2.0"
54
edition = { workspace = true }
6-
license = { workspace = true }
5+
rust-version = { workspace = true }
6+
description = "Pinocchio helpers to invoke Associated Token Account program instructions"
77
readme = "./README.md"
88
repository = { workspace = true }
9-
rust-version = { workspace = true }
9+
license = { workspace = true }
1010

1111
[lib]
1212
crate-type = ["rlib"]

programs/memo/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "pinocchio-memo"
3-
description = "Pinocchio helpers to invoke Memo program instructions"
43
version = "0.2.0"
54
edition = { workspace = true }
6-
license = { workspace = true }
5+
rust-version = { workspace = true }
6+
description = "Pinocchio helpers to invoke Memo program instructions"
77
readme = "./README.md"
88
repository = { workspace = true }
9-
rust-version = { workspace = true }
9+
license = { workspace = true }
1010

1111
[lib]
1212
crate-type = ["rlib"]

programs/system/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "pinocchio-system"
3-
description = "Pinocchio helpers to invoke System program instructions"
43
version = "0.3.0"
54
edition = { workspace = true }
6-
license = { workspace = true }
5+
rust-version = { workspace = true }
6+
description = "Pinocchio helpers to invoke System program instructions"
77
readme = "./README.md"
88
repository = { workspace = true }
9-
rust-version = { workspace = true }
9+
license = { workspace = true }
1010

1111
[lib]
1212
crate-type = ["rlib"]

programs/token-2022/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "pinocchio-token-2022"
3-
description = "Pinocchio helpers to invoke Token-2022 program instructions"
43
version = "0.1.0"
54
edition = { workspace = true }
6-
license = { workspace = true }
5+
description = "Pinocchio helpers to invoke Token-2022 program instructions"
76
readme = "./README.md"
87
repository = { workspace = true }
8+
license = { workspace = true }
99

1010
[lib]
1111
crate-type = ["rlib"]

programs/token/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "pinocchio-token"
3-
description = "Pinocchio helpers to invoke Token program instructions"
43
version = "0.4.0"
54
edition = { workspace = true }
6-
license = { workspace = true }
5+
rust-version = { workspace = true }
6+
description = "Pinocchio helpers to invoke Token program instructions"
77
readme = "./README.md"
88
repository = { workspace = true }
9-
rust-version = { workspace = true }
9+
license = { workspace = true }
1010

1111
[lib]
1212
crate-type = ["rlib"]

sdk/log/crate/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
[package]
22
name = "pinocchio-log"
3-
description = "Lightweight log utility for Solana programs"
43
version = "0.5.1"
54
edition = { workspace = true }
6-
license = { workspace = true }
5+
rust-version = { workspace = true }
6+
description = "Lightweight log utility for Solana programs"
77
readme = "./README.md"
88
repository = { workspace = true }
9-
rust-version = { workspace = true }
9+
license = { workspace = true }
1010

1111
[lib]
1212
crate-type = ["rlib"]
1313

1414
[dependencies]
1515
pinocchio-log-macro = { workspace = true, optional = true }
1616

17-
[lints.rust]
18-
unexpected_cfgs = { level = "warn", check-cfg = [
19-
'cfg(target_os, values("solana"))',
20-
'cfg(target_feature, values("static-syscalls"))',
21-
] }
22-
2317
[features]
2418
default = ["macro"]
2519
macro = ["dep:pinocchio-log-macro"]
20+
21+
[lints.rust]
22+
unexpected_cfgs = { level = "warn", check-cfg = [
23+
'cfg(target_os, values("solana"))',
24+
'cfg(target_feature, values("static-syscalls"))',
25+
] }

sdk/log/macro/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[package]
22
name = "pinocchio-log-macro"
3-
description = "Macro for pinocchio log utility"
43
version = "0.5.0"
54
edition = { workspace = true }
6-
license = { workspace = true }
5+
rust-version = { workspace = true }
6+
description = "Macro for pinocchio log utility"
77
readme = "./README.md"
88
repository = { workspace = true }
9-
rust-version = { workspace = true }
9+
license = { workspace = true }
1010

1111
[lib]
1212
proc-macro = true

sdk/pinocchio/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
[package]
22
name = "pinocchio"
3-
description = "Create Solana programs with no dependencies attached"
43
version = "0.9.2"
54
edition = { workspace = true }
6-
license = { workspace = true }
5+
rust-version = { workspace = true }
6+
description = "Create Solana programs with no dependencies attached"
77
readme = "./README.md"
88
repository = { workspace = true }
9-
rust-version = { workspace = true }
9+
license = { workspace = true }
1010

1111
[lib]
1212
crate-type = ["rlib"]
1313

14-
[lints.rust]
15-
unexpected_cfgs = { level = "warn", check-cfg = [
16-
'cfg(target_os, values("solana"))',
17-
'cfg(target_feature, values("static-syscalls"))',
18-
] }
14+
[dev-dependencies]
15+
five8_const = { workspace = true }
1916

2017
[features]
2118
std = []
2219

23-
[dev-dependencies]
24-
five8_const = { workspace = true }
20+
[lints.rust]
21+
unexpected_cfgs = { level = "warn", check-cfg = [
22+
'cfg(target_os, values("solana"))',
23+
'cfg(target_feature, values("static-syscalls"))',
24+
] }

0 commit comments

Comments
 (0)