Skip to content

program: Port from SPL #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 248 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
248 commits
Select commit Hold shift + click to select a range
4c87b9f
Reorganize crates based on program
mvines Aug 8, 2020
afadf96
Relocate js
mvines Aug 8, 2020
9be6286
Update token.h
mvines Aug 8, 2020
505883b
Move program READMEs back
mvines Aug 8, 2020
149abc3
Truncate SPL Token instruction data field (#260)
t-nelson Aug 11, 2020
99946e2
cbindgen does not produce deterministic header files (#261)
jackcmay Aug 11, 2020
352ede0
clippy
mvines Aug 13, 2020
a93349a
Bump version to v1.0.7
mvines Aug 13, 2020
bcc59ff
clippy
mvines Aug 14, 2020
675cfc4
Bump token version
mvines Aug 14, 2020
4d20952
Remove extra whitespace
mvines Aug 14, 2020
d1a5489
Exclude DECIMALS
mvines Aug 14, 2020
965a351
Add token program2
mvines Aug 14, 2020
bf0e10a
Back out 'Add support for self transfers (#210)'
mvines Aug 14, 2020
6ae0241
Bump version to 1.0.8
mvines Aug 15, 2020
c49d7bf
Update version
mvines Aug 20, 2020
2dda84b
Remove duplicate
mvines Aug 21, 2020
a7c3911
Fix overflow when amounts are u64::MAX (#310)
jackcmay Aug 25, 2020
df2e3dd
Bump solana-sdk from 1.3.2 to 1.3.4
dependabot[bot] Aug 21, 2020
810a78e
Remove token 1.0
mvines Aug 27, 2020
1f722cb
Relocate program2 into program
mvines Aug 27, 2020
b29b86e
Update token.h
mvines Aug 27, 2020
dca91f8
InitializeMint's mint authority is no longer optional
mvines Aug 27, 2020
b05b9db
Pass rent_sysvar into init Instructions and check rent-exempt
Aug 27, 2020
e91c45c
Add Account.rent_exempt_reserve
Aug 27, 2020
c63c00c
C headers
Aug 27, 2020
ec61f70
Combine Account is_native and rent_exempt_reserve fields; wrapped SOL…
Aug 27, 2020
58ac78a
More C headers
Aug 27, 2020
f6a2b20
Reinstate Mint supply (#342)
CriesofCarrots Aug 27, 2020
f3b30fe
Use checked math everywhere (#346)
CriesofCarrots Aug 27, 2020
2493fde
Require valid Mint for InitializeAccount
Aug 27, 2020
e781ae9
C headers doc
Aug 27, 2020
d8478e0
Add Transfer2/Approve2/MintTo2/Burn2 instructions for improved hardwa…
mvines Aug 27, 2020
d53a9cb
Adjust native mint
mvines Aug 27, 2020
7de525a
Update token.h
mvines Aug 27, 2020
8bf8d40
New spl-token v1.1 program id (#348)
CriesofCarrots Aug 28, 2020
4149f77
Safer pack/unpack (#349)
jackcmay Aug 28, 2020
bfda67e
Fix various quotes in documentation
mvines Aug 28, 2020
affbd2e
Bump spl-token to v2 (#352)
CriesofCarrots Aug 28, 2020
fa3e384
Move c header generation out of build.rs
mvines Aug 28, 2020
4d469e8
Update token.h
mvines Aug 28, 2020
4106272
Token nits (#353)
garious Aug 28, 2020
24d1e22
s/AccountHolder/AccountOwner (#356)
CriesofCarrots Aug 28, 2020
dbd936c
Remove last unsafes (#354)
jackcmay Aug 28, 2020
0c5983f
Don't repack if not needed (#355)
jackcmay Aug 28, 2020
404dc07
Bump version (#357)
CriesofCarrots Aug 28, 2020
ca81b67
Fix account size comparisons (#359)
jackcmay Aug 28, 2020
90c1e8e
Bump token program id, version (#361)
CriesofCarrots Aug 29, 2020
7e6b22e
Update to Solana 1.3.6
mvines Aug 29, 2020
741f39f
Fix up doc quotes
mvines Aug 30, 2020
6a2437b
Bump solana crates to 1.3.8
t-nelson Sep 4, 2020
b8ebe44
Bump Token version to 2.0.4
t-nelson Sep 4, 2020
e416f9c
Unrelated clippy...
t-nelson Sep 4, 2020
ead6bc1
Bump dependencies from 1.3.8 to 1.3.9 (#415)
jstarry Sep 10, 2020
4ea51df
Bump solana-sdk from 1.3.9 to 1.3.11 (#454)
dependabot[bot] Sep 16, 2020
40d49e7
Nit: add current
mvines Sep 16, 2020
a9402b2
Fix multisign check (#479)
jackcmay Sep 18, 2020
9a35207
Bump spl-token v2 (#480)
CriesofCarrots Sep 19, 2020
4780bc4
backport #433 to v2
jackcmay Sep 21, 2020
7c6cfa5
backport #438 to v2
jackcmay Sep 21, 2020
78f6a0e
backport #437 to v2
jackcmay Sep 21, 2020
ae3d420
backport #436 to v2
jackcmay Sep 21, 2020
97490a0
backport #435 to v2
jackcmay Sep 21, 2020
76f71ad
backport #434 to v2
jackcmay Sep 21, 2020
8805479
backport #443 to v2
jackcmay Sep 21, 2020
989f06d
backport #448 to v2
jackcmay Sep 21, 2020
ba9deef
backport #479 to v2
jackcmay Sep 21, 2020
bdf4185
backport #484 to v2
jackcmay Sep 21, 2020
7fa6d0e
cargo fmt
jackcmay Sep 21, 2020
40ce081
retain v2 error values
jackcmay Sep 21, 2020
d9137a4
Standardize failure case ordering (#509)
CriesofCarrots Sep 22, 2020
23047f6
Rename x2 instructions to xChecked
jackcmay Sep 22, 2020
072bd4c
token: Bump solana crates to 1.3.14
t-nelson Sep 26, 2020
b15582a
Bump token to published version
Oct 6, 2020
24d75bd
solana sdk does not need skip-no-mangle
jackcmay Oct 6, 2020
d85334b
Remove skip-no-mangle entirely
jackcmay Oct 6, 2020
6108813
Bump memo and token versions (#627)
CriesofCarrots Oct 15, 2020
b217df8
Add additional transfer test coverage
mvines Oct 19, 2020
5a74034
Port SPL to solana-program and `cargo build-bpf`
mvines Oct 23, 2020
af8617e
Refer to CreateAccount
jackcmay Oct 26, 2020
1b0444f
reformat token instruction comments (#732)
jackcmay Oct 27, 2020
591d8e7
Clippy suggestions (#765)
CriesofCarrots Nov 1, 2020
d2b295c
Update to solana v1.4.4
mvines Nov 1, 2020
224b796
Drop lifetimes
mvines Nov 1, 2020
324b8b2
Back to no-entrypoint feature name
mvines Nov 3, 2020
0ef0667
Bump spl-token to v3.0.0
mvines Nov 4, 2020
00c2148
Limit docs.rs builds
mvines Nov 4, 2020
7422754
Bump solana version to v1.4.5
mvines Nov 6, 2020
4b76471
Bump solana-program from 1.4.5 to 1.4.6 (#826)
dependabot[bot] Nov 11, 2020
f4c2655
Upgrade to Solana 1.4.7
mvines Nov 12, 2020
b012844
Update to Solana 1.4.8
mvines Nov 14, 2020
a614bfc
Bump solana version to v1.4.9
mvines Nov 18, 2020
6b7f661
Bump solana-program from 1.4.9 to 1.4.13 (#916)
dependabot[bot] Dec 2, 2020
ac63c05
Upgrade to Solana v1.4.14
mvines Dec 3, 2020
82d6f88
Bump {ata,memo,token-{program,cli}} to solana v1.4.17
t-nelson Dec 16, 2020
df0f7f7
Bump token to v3.0.1
t-nelson Dec 16, 2020
881525a
Update to Solana 1.5.0
mvines Dec 18, 2020
5cb23af
build(deps): bump solana-program from 1.5.0 to 1.5.1 (#1025)
dependabot[bot] Jan 4, 2021
66f96f6
token: Fully check self-transfers
t-nelson Jan 27, 2021
215f7ef
token: Add a full suite of self-transfer tests
t-nelson Jan 28, 2021
4a79f9d
token: Add InitializeAccount2 instruction
t-nelson Jan 28, 2021
d966090
token: Wrap C bindings at 80 char
t-nelson Feb 6, 2021
98f0738
token: cbindgen doing its thing...
t-nelson Feb 6, 2021
ed0cb2b
token: Get `COption` and `Pubkey` C bindings from solana-program crate
t-nelson Feb 6, 2021
8670f15
token: C binding comment typos
t-nelson Feb 6, 2021
ffe2f73
token: Rename v2 instructions in C bindings
t-nelson Feb 6, 2021
022df4f
token: Add `InitializeAccount2` C binding
t-nelson Feb 6, 2021
b2c584d
chore: bump solana crates to 1.5.6
t-nelson Feb 11, 2021
853964e
chore: token - bump version to 3.1.0
t-nelson Feb 11, 2021
be2af7c
build(deps): bump solana-program from 1.5.6 to 1.5.8 (#1261)
dependabot[bot] Feb 17, 2021
1a357a4
Update solana-program to 1.5.11 (#1362)
joncinque Mar 2, 2021
71e6aa0
Bump Solana version to 1.5.15
mvines Mar 16, 2021
855139f
Bump Rust version to 1.50.0
mvines Mar 16, 2021
2ae6ef6
Back out clippy::manual_map for now
mvines Mar 17, 2021
b582ba2
Bump Solana version to 1.6.1
mvines Mar 18, 2021
5741e9c
Update to Solana 1.6.2
mvines Mar 30, 2021
a5852df
Update SPL to Solana v1.6.6
mvines Apr 23, 2021
c6465b3
Bump solana crates to v1.6.7
t-nelson May 5, 2021
c520c5e
Fix potential vulnerabilities in programs using spl-token CPIs by add…
ellttBen May 12, 2021
c2efab4
Bump spl-token patch version
mvines May 18, 2021
f175921
Fix #1739: ThawAccount incorrectly logged as FreezeAccount in token p…
xJonathanLEI May 18, 2021
fb64506
Bump solana version
Jun 14, 2021
2b8aa1a
Update all solana dependencies to 1.7.3, fix issues (#1958)
joncinque Jun 24, 2021
15d0d43
Bump solana and borsh crates (#2015)
CriesofCarrots Jul 2, 2021
9ac6916
token: Drop delegate on ownership transfer (#2085)
joncinque Jul 15, 2021
2cb8957
token: Add SyncNative instruction (program, CLI, JS) (#2091)
joncinque Jul 19, 2021
80e1722
token: Bump C bindings (#2109)
CriesofCarrots Jul 19, 2021
50c4c39
token: Clear close authority for native accounts (#2115)
joncinque Jul 20, 2021
45f3fb5
token: Bump to 3.2.0 everywhere (#2116)
joncinque Jul 20, 2021
e1280de
build(deps): bump num_enum from 0.5.1 to 0.5.2 (#2119)
dependabot[bot] Jul 20, 2021
0b040f3
Bump solana crates (#2139)
CriesofCarrots Jul 23, 2021
d095562
build(deps): bump num_enum from 0.5.2 to 0.5.3 (#2207)
dependabot[bot] Aug 3, 2021
298e990
Add InitializeMint2/InitializeMultisig2/InitializeAccount3 instructions
mvines Aug 13, 2021
4b2acf6
review feedback
mvines Aug 14, 2021
1e6bee1
build(deps): bump num_enum from 0.5.3 to 0.5.4 (#2293)
dependabot[bot] Aug 17, 2021
42425f2
Upgrade to Solana 1.7.11
mvines Aug 30, 2021
8c60c4c
Upgrade to Solana 1.8.0
mvines Oct 12, 2021
8cbb218
Upgrade to Solana v1.8.1
mvines Oct 21, 2021
f454d4d
token: Transition perf-monitor to solana-program-test (#2586)
joncinque Nov 16, 2021
5203f40
Update comment on state.rs regarding is_native
vpontis Nov 29, 2021
1f48fb3
Update to Rust 1.57.0
mvines Dec 10, 2021
9315193
Increase compute max units due to changes in handling of memory ops (…
dmakarov Dec 20, 2021
d4cfd94
Update SDK to 1.9.2, fix warnings (#2674)
joncinque Dec 29, 2021
dbd0836
token tests p1 (#2700)
eventhorizonpl Jan 5, 2022
f047aa8
token: Zeroize data on account close (#2763)
joncinque Jan 21, 2022
a85c96a
token: Bump version to 3.3.0 (#2765)
joncinque Jan 21, 2022
6cb24c6
Bump solana crates to v1.9.5 (#2780)
CriesofCarrots Jan 22, 2022
1a8987c
token: Support both token programs in associated-token-account (#2904)
joncinque Feb 15, 2022
03a37d7
Initialize close_authority explicitly (#2919)
Feb 16, 2022
6e07a16
Add token Amount/UiAmount conversion Instructions (#2928)
Feb 17, 2022
4ca309b
Bump solana to v1.9.9 (#2902)
Feb 23, 2022
c850686
Add comment (#2954)
Feb 24, 2022
8cd3c77
Support unpacking token accounts fields partially (#2970)
lijunwangs Mar 2, 2022
9afb10e
Spell out destination (#2977)
Mar 3, 2022
56c743d
Added checks if a token account is initialized when checking validity…
lijunwangs Mar 10, 2022
334951c
token-2022: Allow anyone to burn/close an Account owned by the system…
Mar 10, 2022
f36505c
Upgrade crates to 1.10.8 (#3076)
joncinque Apr 11, 2022
c914a87
token-2022: Add compatibility test for instructions (#3106)
joncinque Apr 22, 2022
5811e56
Bump token-2022 (#3113)
Apr 26, 2022
5c24b97
Bump solana to v1.10.15 (#3176)
dmakarov May 17, 2022
af203e9
Update Solana crates to 1.10.29 (#3303)
joncinque Jul 1, 2022
0ad821d
Improve token error messages in token-swap (#3357)
jmalcic Jul 26, 2022
ad7e562
Bump solana crates to v1.10.33 (#3385)
Jul 27, 2022
4d60db8
check that unpack is tolerant of small sizes (#3416)
aeyakovenko Aug 3, 2022
b488476
Bump spl-token (#3418)
Aug 3, 2022
a538132
Refactor unpack and make test more robust (#3417)
Aug 3, 2022
3d4a7d7
token[-2022]: Add proptest for unpacking (#3421)
joncinque Aug 3, 2022
82ed394
token: Reassign and reallocate accounts on close (#3415)
joncinque Aug 3, 2022
56d94fd
token/ata: Bump versions to 3.4.0 and 1.1.0, respectively (#3427)
joncinque Aug 3, 2022
95aa34a
Prep for spl-token v3.5.0 (#3426)
Aug 4, 2022
9f4075d
Bump token to v3.5.0 and ata to v1.1.1 (#3430)
Aug 4, 2022
babbce1
Bump solana to v1.10.35 (#3485)
Aug 16, 2022
3a4c324
token[-2022]: Change `target_arch` to `target_os` (#3493)
joncinque Aug 18, 2022
34a0b4a
Update rust to 1.60, solana to 1.11.6 (#3492)
2501babe Aug 18, 2022
20c49b3
clippy: Deny integer arithmetic, add allows where needed (#3606)
joncinque Sep 15, 2022
7858055
typo
timkoopmans Oct 3, 2022
e9e3d79
update solana to 1.14.4
2501babe Oct 11, 2022
cbf1959
upgrade solana-program to 1.14.6 (#3765)
samkim-crypto Oct 26, 2022
889a954
token: Fix some spelling mistakes (#3777)
joncinque Oct 28, 2022
b7eb7fb
update solana to 1.14.10 (#3872)
samkim-crypto Dec 6, 2022
01ebdaf
clippy: Remove `useless_conversion` (#3899)
joncinque Dec 13, 2022
d26a44b
Update repo to `edition = "2021"` (#3900)
joncinque Dec 13, 2022
7ceb182
ci: Update repo to Solana 1.14.12 (#3989)
joncinque Jan 19, 2023
acab8f1
chore: update maintainer references (#4008)
joedenis01 Jan 31, 2023
e51f09c
build(deps): bump num_enum from 0.5.7 to 0.5.9 (#4020)
dependabot[bot] Feb 2, 2023
42e7247
build(deps): bump bytemuck from 1.12.1 to 1.13.0 (#4027)
dependabot[bot] Feb 6, 2023
3ce0abc
More direct delegate test (#4092)
Arrowana Apr 3, 2023
9b67d89
build(deps): bump num_enum from 0.5.9 to 0.6.1 (#4156)
dependabot[bot] May 4, 2023
32afcad
build(deps): bump proptest from 1.0.0 to 1.1.0 (#4184)
dependabot[bot] May 5, 2023
b643759
build(deps): bump serial_test from 0.5.1 to 0.8.0 (#4206)
dependabot[bot] May 9, 2023
f442f4d
build(deps): bump arrayref from 0.3.6 to 0.3.7 (#4233)
dependabot[bot] May 10, 2023
0e852ef
build(deps): bump serial_test from 0.8.0 to 2.0.0 (#4253)
dependabot[bot] May 11, 2023
d4c3ec5
build(deps): bump bytemuck from 1.13.0 to 1.13.1 (#4272)
dependabot[bot] May 12, 2023
5154f48
build(deps): bump proptest from 1.1.0 to 1.2.0 (#4378)
dependabot[bot] May 24, 2023
8ebb46b
docs: Be really clear that token-2022 is still under audit (#4435)
joncinque Jun 1, 2023
ee8daa6
Add link to doc: instruction.rs (#4464)
skaunov Jun 5, 2023
795a918
Update Solana to 1.16.1 and Rust to 1.69 (#4592)
joncinque Jun 26, 2023
61107af
bump token & co. (#4612)
Jun 27, 2023
c99fd2c
build(deps): bump num-derive from 0.3.3 to 0.4.0 (#4659)
dependabot[bot] Jun 30, 2023
d71692b
Upgrade to solana 1.16.3 (#4679)
samkim-crypto Jul 13, 2023
999b44d
build(deps): bump num_enum from 0.6.1 to 0.7.0 (#5003)
dependabot[bot] Aug 14, 2023
3584fb5
build(deps): bump bytemuck from 1.13.1 to 1.14.0 (#5210)
dependabot[bot] Sep 12, 2023
dcc6f6c
Bump repo to 1.16.13 (#5324)
joncinque Sep 21, 2023
cf1f010
build(deps): bump proptest from 1.2.0 to 1.3.1 (#5398)
dependabot[bot] Oct 2, 2023
756a689
chore: Bump Solana crates to 1.16.16 (#5494)
joncinque Oct 11, 2023
7232a3a
ci: Bump repo to Solana 1.17 (#5575)
joncinque Oct 19, 2023
cce633e
build(deps): bump num_enum from 0.7.0 to 0.7.1 (#5687)
dependabot[bot] Oct 28, 2023
17bfeed
rustfmt: use entrypoint full path
Nov 8, 2023
0881db4
rustfmt: format imports
Nov 8, 2023
70b89ae
rustfmt: format comments
Nov 8, 2023
66c51aa
build(deps): bump proptest from 1.3.1 to 1.4.0 (#5812)
dependabot[bot] Nov 13, 2023
e32879a
repo: Update to 1.17.6 (#5863)
joncinque Nov 29, 2023
d6ebde8
build(deps): bump num_enum from 0.7.1 to 0.7.2 (#6072)
dependabot[bot] Jan 8, 2024
5f60406
build(deps): bump serial_test from 2.0.0 to 3.0.0 (#6073)
dependabot[bot] Jan 8, 2024
7d2abc6
token 2022: upgrade sdk to 1.17.13 (#6147)
0x0ece Jan 18, 2024
65122b7
build(deps): bump bytemuck from 1.14.0 to 1.14.1 (#6179)
dependabot[bot] Jan 25, 2024
0a9a4a3
Update solana dependency version to allow 2.0.0 (#6182)
willhickey Jan 26, 2024
8c1f145
Upgrade to solana 1.17.17 (#6189)
samkim-crypto Feb 1, 2024
5ce35f2
Bump SPL crate versions (#6221)
willhickey Feb 5, 2024
d058ff4
build(deps): bump bytemuck from 1.14.1 to 1.14.2 (#6231)
dependabot[bot] Feb 7, 2024
6be17fe
build(deps): bump bytemuck from 1.14.2 to 1.14.3 (#6240)
dependabot[bot] Feb 10, 2024
7db846d
Upgrade to Solana 1.18.2 (#6278)
samkim-crypto Feb 29, 2024
56f154e
build(deps): bump bytemuck from 1.14.3 to 1.15.0 (#6415)
dependabot[bot] Mar 13, 2024
b98e0c6
build(deps): bump serial_test from 3.0.0 to 3.1.0 (#6606)
dependabot[bot] Apr 22, 2024
1004806
Bump solana version to 1.18.11 (#6624)
samkim-crypto Apr 24, 2024
1b1810a
build(deps): bump serial_test from 3.1.0 to 3.1.1 (#6649)
dependabot[bot] Apr 29, 2024
077265b
build(deps): bump bytemuck from 1.15.0 to 1.16.0 (#6729)
dependabot[bot] May 14, 2024
a0492c7
build(deps): bump bytemuck from 1.16.0 to 1.16.1 (#6875)
dependabot[bot] Jun 20, 2024
5c61290
build(deps): bump proptest from 1.4.0 to 1.5.0 (#6899)
dependabot[bot] Jun 24, 2024
3084c4f
build(deps): bump lazy_static from 1.4.0 to 1.5.0 (#6900)
dependabot[bot] Jun 24, 2024
45f0550
token: Update to v5 for solana-program 2.0 compatibility (#6907)
joncinque Jun 24, 2024
6d5f4ee
deps: Upgrade to Solana v2 (#6908)
joncinque Jun 25, 2024
5f518eb
token: Bump to v6 for Solana v2 compatibility (#6918)
joncinque Jun 25, 2024
3a964cb
build(deps): bump arrayref from 0.3.7 to 0.3.8 (#7034)
dependabot[bot] Jul 22, 2024
fa46561
ci: Bump crates to Solana 2.0.3 (#7047)
joncinque Jul 25, 2024
2365a60
build(deps): bump num_enum from 0.7.2 to 0.7.3 (#7071)
dependabot[bot] Jul 30, 2024
f89f880
build(deps): bump bytemuck from 1.16.1 to 1.16.3 (#7077)
dependabot[bot] Jul 31, 2024
a67fe61
build(deps): bump bytemuck from 1.16.3 to 1.17.0 (#7159)
dependabot[bot] Aug 16, 2024
bbc8ddf
build(deps): bump bytemuck from 1.17.0 to 1.17.1 (#7209)
dependabot[bot] Aug 28, 2024
e88da38
build(deps): bump bytemuck from 1.17.1 to 1.18.0 (#7244)
dependabot[bot] Sep 6, 2024
462b879
build(deps): bump arrayref from 0.3.8 to 0.3.9 (#7278)
dependabot[bot] Sep 16, 2024
f76cc71
build(deps): bump bytemuck from 1.18.0 to 1.19.0 (#7345)
dependabot[bot] Oct 14, 2024
b6053f0
CI: Update to Solana v2.1 crates (#7416)
joncinque Oct 31, 2024
c96c236
Publish spl-token v7.0.0
github-actions[bot] Nov 1, 2024
fb6732d
build(deps): bump thiserror from 1.0.68 to 2.0.0 (#7462)
dependabot[bot] Nov 6, 2024
8050ce7
build(deps): bump serial_test from 3.1.1 to 3.2.0 (#7481)
dependabot[bot] Nov 11, 2024
eaa6c81
token: Fix typos for cargo-spellcheck (#7503)
joncinque Nov 18, 2024
b123a8e
build(deps): bump bytemuck from 1.19.0 to 1.20.0 (#7507)
dependabot[bot] Nov 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions program/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[package]
name = "spl-token"
version = "7.0.0"
description = "Solana Program Library Token"
authors = ["Solana Labs Maintainers <[email protected]>"]
repository = "https://github.com/solana-labs/solana-program-library"
license = "Apache-2.0"
edition = "2021"
exclude = ["js/**"]

[features]
no-entrypoint = []
test-sbf = []

[dependencies]
arrayref = "0.3.9"
bytemuck = "1.20.0"
num-derive = "0.4"
num-traits = "0.2"
num_enum = "0.7.3"
solana-program = "2.1.0"
thiserror = "2.0"

[dev-dependencies]
lazy_static = "1.5.0"
proptest = "1.5"
serial_test = "3.2.0"
solana-program-test = "2.1.0"
solana-sdk = "2.1.0"

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

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

[lints]
workspace = true
13 changes: 13 additions & 0 deletions program/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Token program

A token program on the Solana blockchain, usable for fungible and non-fungible tokens.

This program provides an interface and implementation that third parties can
utilize to create and use their tokens.

Full documentation is available at the [SPL Token docs](https://spl.solana.com/token).

## Audit

The repository [README](https://github.com/solana-labs/solana-program-library#audits)
contains information about program audits.
2 changes: 2 additions & 0 deletions program/Xargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.bpfel-unknown-unknown.dependencies.std]
features = []
Loading
Loading