Token: add Rust program id and bump version (#47)
* Token: add Rust program id and bump version * Exclude js from package * C header bump
This commit is contained in:
parent
4683535885
commit
b24bfe7e32
|
@ -492,7 +492,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "spl-token"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"cbindgen",
|
||||
"num-derive 0.2.5",
|
||||
|
@ -633,9 +633,9 @@ checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
|||
|
||||
[[package]]
|
||||
name = "winapi"
|
||||
version = "0.3.8"
|
||||
version = "0.3.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8093091eeb260906a183e6ae1abdba2ef5ef2257a21801128899c3fc699229c6"
|
||||
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
||||
dependencies = [
|
||||
"winapi-i686-pc-windows-gnu",
|
||||
"winapi-x86_64-pc-windows-gnu",
|
||||
|
|
|
@ -3,12 +3,13 @@
|
|||
|
||||
[package]
|
||||
name = "spl-token"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
description = "Solana Program Library Token"
|
||||
authors = ["Solana Maintainers <maintainers@solana.foundation>"]
|
||||
repository = "https://github.com/solana-labs/solana-program-library"
|
||||
license = "Apache-2.0"
|
||||
edition = "2018"
|
||||
exclude = ["js/**"]
|
||||
|
||||
[dependencies]
|
||||
num-derive = "0.2"
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#define TOKEN_MAJOR_VERSION 0
|
||||
#define TOKEN_MINOR_VERSION 1
|
||||
#define TOKEN_MAJOR_VERSION 1
|
||||
#define TOKEN_MINOR_VERSION 0
|
||||
#define TOKEN_PATCH_VERSION 0
|
||||
|
||||
/**
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
TokenSVp5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o
|
|
@ -8,3 +8,5 @@ pub mod native_mint;
|
|||
pub mod option;
|
||||
pub mod processor;
|
||||
pub mod state;
|
||||
|
||||
solana_sdk::declare_id!("TokenSVp5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o");
|
||||
|
|
Loading…
Reference in New Issue