Skip to content

Commit 740e47d

Browse files
authored
toml: Update everything to new repo + Anza (#82)
#### Problem The crates all point to the SPL repo and Labs maintainers, but that isn't the case anymore. Also, the security.txt info in Token-2022 is incorrect for the future release. #### Summary of changes Update all Cargo.toml files to specify the new repo, Anza maintenance, and license. Also, update the security.txt for the new token-2022 info.
1 parent 59e4bb9 commit 740e47d

File tree

10 files changed

+61
-43
lines changed

10 files changed

+61
-43
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ members = [
2222
"program",
2323
]
2424

25+
[workspace.package]
26+
authors = ["Anza Maintainers <[email protected]>"]
27+
repository = "https://github.com/solana-program/token-2022"
28+
homepage = "https://solana-program.com"
29+
license = "Apache-2.0"
30+
edition = "2021"
31+
2532
[workspace.lints.rust.unexpected_cfgs]
2633
level = "warn"
2734
check-cfg = [

clients/cli/Cargo.toml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
[package]
2-
authors = ["Solana Labs Maintainers <[email protected]>"]
3-
description = "SPL-Token Command-line Utility"
4-
edition = "2021"
5-
homepage = "https://spl.solana.com/token"
6-
license = "Apache-2.0"
72
name = "spl-token-cli"
8-
repository = "https://github.com/solana-labs/solana-program-library"
93
version = "5.0.0"
4+
description = "SPL-Token Command-line Utility"
5+
documentation = "https://docs.rs/spl-token-cli"
6+
readme = "README.md"
7+
authors = { workspace = true }
8+
repository = { workspace = true }
9+
homepage = { workspace = true }
10+
license = { workspace = true }
11+
edition = { workspace = true }
1012

1113
[build-dependencies]
1214
walkdir = "2"

clients/rust-legacy/Cargo.toml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
[package]
2-
authors = ["Solana Labs Maintainers <[email protected]>"]
3-
description = "SPL-Token Rust Client"
4-
edition = "2021"
5-
license = "Apache-2.0"
62
name = "spl-token-client"
7-
repository = "https://github.com/solana-labs/solana-program-library"
83
version = "0.13.0"
4+
description = "SPL-Token Rust Client"
5+
documentation = "https://docs.rs/spl-token-client"
6+
readme = "README.md"
7+
authors = { workspace = true }
8+
repository = { workspace = true }
9+
homepage = { workspace = true }
10+
license = { workspace = true }
11+
edition = { workspace = true }
912

1013
[features]
1114
default = ["display"]

confidential-transfer/ciphertext-arithmetic/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
name = "spl-token-confidential-transfer-ciphertext-arithmetic"
33
version = "0.2.0"
44
description = "Solana Program Library Confidential Transfer Ciphertext Arithmetic"
5-
authors = ["Solana Labs Maintainers <[email protected]>"]
6-
repository = "https://github.com/solana-labs/solana-program-library"
7-
license = "Apache-2.0"
8-
edition = "2021"
5+
authors = { workspace = true }
6+
repository = { workspace = true }
7+
homepage = { workspace = true }
8+
license = { workspace = true }
9+
edition = { workspace = true }
910

1011
[dependencies]
1112
base64 = "0.22.1"

confidential-transfer/elgamal-registry/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
name = "spl-elgamal-registry"
33
version = "0.1.0"
44
description = "Solana ElGamal Registry Program"
5-
authors = ["Solana Labs Maintainers <[email protected]>"]
6-
repository = "https://github.com/solana-labs/solana-program-library"
7-
license = "Apache-2.0"
8-
edition = "2021"
5+
authors = { workspace = true }
6+
repository = { workspace = true }
7+
homepage = { workspace = true }
8+
license = { workspace = true }
9+
edition = { workspace = true }
910

1011
[features]
1112
no-entrypoint = []

confidential-transfer/proof-extraction/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
name = "spl-token-confidential-transfer-proof-extraction"
33
version = "0.2.0"
44
description = "Solana Program Library Confidential Transfer Proof Extraction"
5-
authors = ["Solana Labs Maintainers <[email protected]>"]
6-
repository = "https://github.com/solana-labs/solana-program-library"
7-
license = "Apache-2.0"
8-
edition = "2021"
5+
authors = { workspace = true }
6+
repository = { workspace = true }
7+
homepage = { workspace = true }
8+
license = { workspace = true }
9+
edition = { workspace = true }
910

1011
[dependencies]
1112
bytemuck = "1.21.0"

confidential-transfer/proof-generation/Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
name = "spl-token-confidential-transfer-proof-generation"
33
version = "0.2.0"
44
description = "Solana Program Library Confidential Transfer Proof Generation"
5-
authors = ["Solana Labs Maintainers <[email protected]>"]
6-
repository = "https://github.com/solana-labs/solana-program-library"
7-
license = "Apache-2.0"
8-
edition = "2021"
5+
authors = { workspace = true }
6+
repository = { workspace = true }
7+
homepage = { workspace = true }
8+
license = { workspace = true }
9+
edition = { workspace = true }
910

1011
[dependencies]
1112
curve25519-dalek = "4.1.3"

confidential-transfer/proof-tests/Cargo.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[package]
22
name = "spl-token-confidential-transfer-proof-test"
33
version = "0.0.1"
4-
description = "Solana Program Library Confidential Transfer Proof Test"
5-
authors = ["Solana Labs Maintainers <[email protected]>"]
6-
repository = "https://github.com/solana-labs/solana-program-library"
7-
license = "Apache-2.0"
8-
edition = "2021"
4+
publish = false
5+
authors = { workspace = true }
6+
repository = { workspace = true }
7+
homepage = { workspace = true }
8+
license = { workspace = true }
9+
edition = { workspace = true }
910

1011
[dev-dependencies]
1112
curve25519-dalek = "4.1.3"

program/Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
name = "spl-token-2022"
33
version = "6.0.0"
44
description = "Solana Program Library Token 2022"
5-
authors = ["Solana Labs Maintainers <[email protected]>"]
6-
repository = "https://github.com/solana-labs/solana-program-library"
7-
license = "Apache-2.0"
8-
edition = "2021"
9-
exclude = ["js/**"]
5+
documentation = "https://docs.rs/spl-token-2022"
6+
readme = "README.md"
7+
authors = { workspace = true }
8+
repository = { workspace = true }
9+
homepage = { workspace = true }
10+
license = { workspace = true }
11+
edition = { workspace = true }
1012

1113
[features]
1214
no-entrypoint = []

program/src/entrypoint.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ security_txt! {
2727
// Required fields
2828
name: "SPL Token-2022",
2929
project_url: "https://spl.solana.com/token-2022",
30-
contacts: "link:https://github.com/solana-labs/solana-program-library/security/advisories/new,mailto:security@solana.com,discord:https://solana.com/discord",
31-
policy: "https://github.com/solana-labs/solana-program-library/blob/master/SECURITY.md",
30+
contacts: "link:https://github.com/solana-program/token-2022/security/advisories/new,mailto:security@anza.xyz,discord:https://solana.com/discord",
31+
policy: "https://github.com/solana-program/token-2022/blob/master/SECURITY.md",
3232

3333
// Optional Fields
3434
preferred_languages: "en",
35-
source_code: "https://github.com/solana-labs/solana-program-library/tree/master/token/program-2022",
36-
source_revision: "070934ae4f2975d602caa6bd1e88b2c010e4cab5",
37-
source_release: "token-2022-v5.0.2",
38-
auditors: "https://github.com/solana-labs/security-audits#token-2022"
35+
source_code: "https://github.com/solana-program/token-2022/tree/master/program",
36+
source_release: "token-2022-v7.0.0",
37+
auditors: "https://github.com/anza-xyz/security-audits#token-2022"
3938
}

0 commit comments

Comments
 (0)