Set alpha and borsh versions

This commit is contained in:
Armani Ferrante 2021-01-14 23:19:52 -08:00
parent fa67756774
commit 5d571ee9fc
No known key found for this signature in database
GPG Key ID: D597A80BCF8E12B7
16 changed files with 29 additions and 27 deletions

2
.gitignore vendored
View File

@ -8,3 +8,5 @@ target/
*.swo *.swo
.anchor .anchor
test-ledger test-ledger
examples/*/Cargo.lock
examples/**/Cargo.lock

12
Cargo.lock generated
View File

@ -45,7 +45,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-access-control" name = "anchor-attribute-access-control"
version = "0.1.0" version = "0.0.0-alpha.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"anyhow", "anyhow",
@ -56,7 +56,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-account" name = "anchor-attribute-account"
version = "0.1.0" version = "0.0.0-alpha.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"anyhow", "anyhow",
@ -67,7 +67,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-attribute-program" name = "anchor-attribute-program"
version = "0.1.0" version = "0.0.0-alpha.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"anyhow", "anyhow",
@ -98,7 +98,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-derive-accounts" name = "anchor-derive-accounts"
version = "0.1.0" version = "0.0.0-alpha.0"
dependencies = [ dependencies = [
"anchor-syn", "anchor-syn",
"anyhow", "anyhow",
@ -109,7 +109,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-lang" name = "anchor-lang"
version = "0.1.0" version = "0.0.0-alpha.0"
dependencies = [ dependencies = [
"anchor-attribute-access-control", "anchor-attribute-access-control",
"anchor-attribute-account", "anchor-attribute-account",
@ -123,7 +123,7 @@ dependencies = [
[[package]] [[package]]
name = "anchor-syn" name = "anchor-syn"
version = "0.1.0" version = "0.0.0-alpha.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"heck", "heck",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-lang" name = "anchor-lang"
version = "0.1.0" version = "0.0.0-alpha.0"
description = "" description = ""
repository = "https://github.com/project-serum/serum-dex" repository = "https://github.com/project-serum/serum-dex"
edition = "2018" edition = "2018"
@ -13,11 +13,11 @@ default = []
thiserror = "1.0.20" thiserror = "1.0.20"
solana-program = "1.4.3" solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] } solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-derive-accounts = { path = "./derive/accounts" } anchor-derive-accounts = { path = "./derive/accounts", version = "0.0.0-alpha.0" }
anchor-attribute-program = { path = "./attribute/program" } anchor-attribute-program = { path = "./attribute/program", version = "0.0.0-alpha.0" }
anchor-attribute-access-control = { path = "./attribute/access-control" } anchor-attribute-access-control = { path = "./attribute/access-control", version = "0.0.0-alpha.0" }
anchor-attribute-account = { path = "./attribute/account" } anchor-attribute-account = { path = "./attribute/account", version = "0.0.0-alpha.0" }
borsh = { git = "https://github.com/project-serum/borsh", branch = "serum", features = ["serum-program"] } serum-borsh = { version = "0.7.2+serum.2", features = ["serum-program"] }
[workspace] [workspace]
members = [ members = [

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-attribute-access-control" name = "anchor-attribute-access-control"
version = "0.1.0" version = "0.0.0-alpha.0"
authors = ["armaniferrante <armaniferrante@gmail.com>"] authors = ["armaniferrante <armaniferrante@gmail.com>"]
edition = "2018" edition = "2018"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-attribute-account" name = "anchor-attribute-account"
version = "0.1.0" version = "0.0.0-alpha.0"
authors = ["armaniferrante <armaniferrante@gmail.com>"] authors = ["armaniferrante <armaniferrante@gmail.com>"]
edition = "2018" edition = "2018"

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-attribute-program" name = "anchor-attribute-program"
version = "0.1.0" version = "0.0.0-alpha.0"
authors = ["armaniferrante <armaniferrante@gmail.com>"] authors = ["armaniferrante <armaniferrante@gmail.com>"]
edition = "2018" edition = "2018"

View File

@ -27,10 +27,10 @@ no-entrypoint = []
cpi = ["no-entrypoint"] cpi = ["no-entrypoint"]
[dependencies] [dependencies]
borsh = {{ git = "https://github.com/project-serum/borsh", branch = "serum", features = ["serum-program"] }} anchor-lang = {{ git = "https://github.com/project-serum/anchor", features = ["derive"] }}
serum-borsh = {{ version = "0.7.2+serum.1", features = ["serum-program"] }}
solana-program = "1.4.3" solana-program = "1.4.3"
solana-sdk = {{ version = "1.3.14", default-features = false, features = ["program"] }} solana-sdk = {{ version = "1.3.14", default-features = false, features = ["program"] }}
anchor-lang = {{ git = "https://github.com/project-serum/anchor", features = ["derive"] }}
"#, "#,
name, name,
name.to_snake_case(), name.to_snake_case(),

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-derive-accounts" name = "anchor-derive-accounts"
version = "0.1.0" version = "0.0.0-alpha.0"
authors = ["armaniferrante <armaniferrante@gmail.com>"] authors = ["armaniferrante <armaniferrante@gmail.com>"]
edition = "2018" edition = "2018"

View File

@ -13,7 +13,7 @@ no-entrypoint = []
cpi = ["no-entrypoint"] cpi = ["no-entrypoint"]
[dependencies] [dependencies]
borsh = { git = "https://github.com/project-serum/borsh", branch = "serum", features = ["serum-program"] } serum-borsh = { version = "0.7.2+serum.1", features = ["serum-program"] }
solana-program = "1.4.3" solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] } solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] } anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,7 @@ no-entrypoint = []
cpi = ["no-entrypoint"] cpi = ["no-entrypoint"]
[dependencies] [dependencies]
borsh = { git = "https://github.com/project-serum/borsh", branch = "serum", features = ["serum-program"] } serum-borsh = { version = "0.7.2+serum.1", features = ["serum-program"] }
solana-program = "1.4.3" solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] } solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] } anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,7 @@ no-entrypoint = []
cpi = ["no-entrypoint"] cpi = ["no-entrypoint"]
[dependencies] [dependencies]
borsh = { git = "https://github.com/project-serum/borsh", branch = "serum", features = ["serum-program"] } serum-borsh = { version = "0.7.2+serum.1", features = ["serum-program"] }
solana-program = "1.4.3" solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] } solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] } anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,7 @@ no-entrypoint = []
cpi = ["no-entrypoint"] cpi = ["no-entrypoint"]
[dependencies] [dependencies]
borsh = { git = "https://github.com/project-serum/borsh", branch = "serum", features = ["serum-program"] } serum-borsh = { version = "0.7.2+serum.1", features = ["serum-program"] }
solana-program = "1.4.3" solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] } solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] } anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,7 @@ no-entrypoint = []
cpi = ["no-entrypoint"] cpi = ["no-entrypoint"]
[dependencies] [dependencies]
borsh = { git = "https://github.com/project-serum/borsh", branch = "serum", features = ["serum-program"] } serum-borsh = { version = "0.7.2+serum.1", features = ["serum-program"] }
solana-program = "1.4.3" solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] } solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] } anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,7 @@ no-entrypoint = []
cpi = ["no-entrypoint"] cpi = ["no-entrypoint"]
[dependencies] [dependencies]
borsh = { git = "https://github.com/project-serum/borsh", branch = "serum", features = ["serum-program"] } serum-borsh = { version = "0.7.2+serum.1", features = ["serum-program"] }
solana-program = "1.4.3" solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] } solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] } anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -13,7 +13,7 @@ no-entrypoint = []
cpi = ["no-entrypoint"] cpi = ["no-entrypoint"]
[dependencies] [dependencies]
borsh = { git = "https://github.com/project-serum/borsh", branch = "serum", features = ["serum-program"] } serum-borsh = { version = "0.7.2+serum.1", features = ["serum-program"] }
solana-program = "1.4.3" solana-program = "1.4.3"
solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] } solana-sdk = { version = "1.3.14", default-features = false, features = ["program"] }
anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] } anchor-lang = { git = "https://github.com/project-serum/anchor", features = ["derive"] }

View File

@ -1,6 +1,6 @@
[package] [package]
name = "anchor-syn" name = "anchor-syn"
version = "0.1.0" version = "0.0.0-alpha.0"
authors = ["armaniferrante <armaniferrante@gmail.com>"] authors = ["armaniferrante <armaniferrante@gmail.com>"]
edition = "2018" edition = "2018"