Skip to content

Commit

Permalink
Cleanup - Removes unused documentation URL and package.metadata.docs.…
Browse files Browse the repository at this point in the history
…rs from SBPF tests (#1686)

Removes unused documentation URL and package.metadata.docs.rs from all Cargo.toml
  • Loading branch information
Lichtso authored Jun 11, 2024
1 parent 68248ab commit 362c605
Show file tree
Hide file tree
Showing 53 changed files with 1 addition and 210 deletions.
3 changes: 0 additions & 3 deletions programs/sbf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,6 @@ members = [
"rust/upgraded",
]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[patch.crates-io]
# We include the following crates as our dependencies from crates.io:
#
Expand Down
4 changes: 0 additions & 4 deletions programs/sbf/rust/128bit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-128bit"
documentation = "https://docs.rs/solana-sbf-rust-128bit"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -15,6 +14,3 @@ solana-sbf-rust-128bit-dep = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/128bit_dep/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-128bit-dep"
documentation = "https://docs.rs/solana-sbf-rust-128bit-dep"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -11,6 +10,3 @@ edition = { workspace = true }

[dependencies]
solana-program = { workspace = true }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/alloc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-alloc"
documentation = "https://docs.rs/solana-sbf-rust-alloc"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 0 additions & 3 deletions programs/sbf/rust/alt_bn128/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
3 changes: 0 additions & 3 deletions programs/sbf/rust/alt_bn128_compression/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/big_mod_exp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-bpf-rust-big-mod-exp"
documentation = "https://docs.rs/solana-bpf-rust-big-mod-exp"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -18,6 +17,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/call_depth/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-call-depth"
documentation = "https://docs.rs/solana-sbf-rust-call-depth"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/caller_access/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-caller-access"
documentation = "https://docs.rs/solana-sbf-rust-caller-access"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/curve25519/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-curve25519"
documentation = "https://docs.rs/solana-sbf-rust-zktoken_crypto"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -15,6 +14,3 @@ solana-zk-token-sdk = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/custom_heap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-custom-heap"
documentation = "https://docs.rs/solana-sbf-rust-custom-heap"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -18,6 +17,3 @@ custom-heap = []

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
5 changes: 0 additions & 5 deletions programs/sbf/rust/dep_crate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-dep-crate"
documentation = "https://docs.rs/solana-sbf-rust-dep-crate"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -11,11 +10,7 @@ edition = { workspace = true }

[dependencies]
byteorder = { workspace = true }
# list of crates which must be buildable for bpf programs
solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/deprecated_loader/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-deprecated-loader"
documentation = "https://docs.rs/solana-sbf-rust-deprecated-loader"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/dup_accounts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-dup-accounts"
documentation = "https://docs.rs/solana-sbf-rust-dup-accounts"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/error_handling/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-error-handling"
documentation = "https://docs.rs/solana-sbf-rust-error-handling"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -17,6 +16,3 @@ thiserror = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/external_spend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-external-spend"
documentation = "https://docs.rs/solana-sbf-rust-external-spend"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/finalize/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-finalize"
documentation = "https://docs.rs/solana-sbf-rust-finalize"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/get_minimum_delegation/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-get-minimum-delegation"
documentation = "https://docs.rs/solana-sbf-rust-get-minimum-delegation"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-inner_instruction_alignment_check"
documentation = "https://docs.rs/solana-sbf-rust-inner_instruction_alignment_check"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/instruction_introspection/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-instruction-introspection"
documentation = "https://docs.rs/solana-sbf-rust-instruction-introspection"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/invoke/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-invoke"
documentation = "https://docs.rs/solana-sbf-rust-invoke"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -21,6 +20,3 @@ solana-sbf-rust-realloc = { workspace = true }

[lib]
crate-type = ["lib", "cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/invoke_and_error/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-invoke-and-error"
documentation = "https://docs.rs/solana-sbf-rust-invoke-and-error"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/invoke_and_ok/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-invoke-and-ok"
documentation = "https://docs.rs/solana-sbf-rust-invoke-and-ok"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/invoke_and_return/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-invoke-and-return"
documentation = "https://docs.rs/solana-sbf-rust-invoke-and-return"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/invoked/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-invoked"
documentation = "https://docs.rs/solana-sbf-rust-invoked"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -18,6 +17,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["lib", "cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/iter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-iter"
documentation = "https://docs.rs/solana-sbf-rust-iter"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -14,6 +13,3 @@ solana-program = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/log_data/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-log-data"
documentation = "https://docs.rs/solana-sbf-rust-log-data"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -18,6 +17,3 @@ program = []

[lib]
crate-type = ["lib", "cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/many_args/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-many-args"
documentation = "https://docs.rs/solana-sbf-rust-many-args"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -15,6 +14,3 @@ solana-sbf-rust-many-args-dep = { workspace = true }

[lib]
crate-type = ["cdylib"]

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
4 changes: 0 additions & 4 deletions programs/sbf/rust/many_args_dep/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[package]
name = "solana-sbf-rust-many-args-dep"
documentation = "https://docs.rs/solana-sbf-rust-many-args-dep"
version = { workspace = true }
description = { workspace = true }
authors = { workspace = true }
Expand All @@ -11,6 +10,3 @@ edition = { workspace = true }

[dependencies]
solana-program = { workspace = true }

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
Loading

0 comments on commit 362c605

Please sign in to comment.