add versions for publishing

This commit is contained in:
Georgios Konstantopoulos 2020-05-27 15:03:31 +03:00
parent 53378afae1
commit a2eed17002
No known key found for this signature in database
GPG Key ID: FA607837CD26EDBC
7 changed files with 23 additions and 25 deletions

View File

@ -4,11 +4,9 @@ version = "0.1.0"
authors = ["Georgios Konstantopoulos <me@gakonst.com>"] authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
ethers-types = { path = "../ethers-types" } ethers-types = { version = "0.1.0", path = "../ethers-types" }
ethers-utils = { path = "../ethers-utils" } ethers-utils = { version = "0.1.0", path = "../ethers-utils" }
ethabi = "12.0.0" ethabi = "12.0.0"
arrayvec = "0.5.1" arrayvec = "0.5.1"

View File

@ -5,13 +5,13 @@ authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
ethers-contract-abigen = { path = "ethers-contract-abigen", optional = true } ethers-contract-abigen = { version = "0.1.0", path = "ethers-contract-abigen", optional = true }
ethers-contract-derive = { path = "ethers-contract-derive", optional = true } ethers-contract-derive = { version = "0.1.0", path = "ethers-contract-derive", optional = true }
ethers-abi = { path = "../ethers-abi" } ethers-abi = { version = "0.1.0", path = "../ethers-abi" }
ethers-providers = { path = "../ethers-providers" } ethers-providers = { version = "0.1.0", path = "../ethers-providers" }
ethers-signers = { path = "../ethers-signers" } ethers-signers = { version = "0.1.0", path = "../ethers-signers" }
ethers-types = { path = "../ethers-types" } ethers-types = { version = "0.1.0", path = "../ethers-types" }
serde = { version = "1.0.110", default-features = false } serde = { version = "1.0.110", default-features = false }
rustc-hex = { version = "2.1.0", default-features = false } rustc-hex = { version = "2.1.0", default-features = false }

View File

@ -52,7 +52,7 @@ fn expand_filter(event: &Event) -> Result<TokenStream> {
Ok(quote! { Ok(quote! {
#doc #doc
pub fn #name<'b>(&'a self) -> Event<'a, 'b, P, #result> where 'a: 'b { pub fn #name<'b>(&'a self) -> Event<'a, 'b, P, #result> where 'a: 'b, {
self.0.event(#ev_name).expect("event not found (this should never happen)") self.0.event(#ev_name).expect("event not found (this should never happen)")
} }
}) })

View File

@ -5,9 +5,9 @@ authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
ethers-types = { path = "../ethers-types" } ethers-types = { version = "0.1.0", path = "../ethers-types" }
ethers-utils = { path = "../ethers-utils" } ethers-utils = { version = "0.1.0", path = "../ethers-utils" }
ethers-abi = { path = "../ethers-abi" } ethers-abi = { version = "0.1.0", path = "../ethers-abi" }
async-trait = { version = "0.1.31", default-features = false } async-trait = { version = "0.1.31", default-features = false }
reqwest = { version = "0.10.4", default-features = false, features = ["json", "rustls-tls"] } reqwest = { version = "0.10.4", default-features = false, features = ["json", "rustls-tls"] }

View File

@ -5,6 +5,6 @@ authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
ethers-types = { path = "../ethers-types" } ethers-types = { version = "0.1.0", path = "../ethers-types" }
ethers-providers = { path = "../ethers-providers" } ethers-providers = { version = "0.1.0", path = "../ethers-providers" }
ethers-utils = { path = "../ethers-utils" } ethers-utils = { version = "0.1.0", path = "../ethers-utils" }

View File

@ -5,7 +5,7 @@ authors = ["Georgios Konstantopoulos <me@gakonst.com>"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
ethers-utils = { path = "../ethers-utils" } ethers-utils = { version = "0.1.0", path = "../ethers-utils" }
ethereum-types = { version = "0.9.2", default-features = false, features = ["serialize"] } ethereum-types = { version = "0.9.2", default-features = false, features = ["serialize"] }
serde = { version = "1.0.110", default-features = false, features = ["derive"] } serde = { version = "1.0.110", default-features = false, features = ["derive"] }

View File

@ -23,15 +23,15 @@ types = ["ethers-types"]
utils = ["ethers-utils"] utils = ["ethers-utils"]
[dependencies] [dependencies]
ethers-abi = { path = "../ethers-abi", optional = true } ethers-abi = { version = "0.1.0", path = "../ethers-abi", optional = true }
ethers-contract = { path = "../ethers-contract", features = ["abigen"], optional = true } ethers-contract = { version = "0.1.0", path = "../ethers-contract", features = ["abigen"], optional = true }
ethers-providers = { path = "../ethers-providers", optional = true } ethers-providers = { version = "0.1.0", path = "../ethers-providers", optional = true }
ethers-signers = { path = "../ethers-signers", optional = true } ethers-signers = { version = "0.1.0", path = "../ethers-signers", optional = true }
ethers-types = { path = "../ethers-types", optional = true } ethers-types = { version = "0.1.0", path = "../ethers-types", optional = true }
ethers-utils = { path = "../ethers-utils", optional = true } ethers-utils = { version = "0.1.0", path = "../ethers-utils", optional = true }
[dev-dependencies] [dev-dependencies]
ethers-contract = { path = "../ethers-contract", features = ["abigen"] } ethers-contract = { version = "0.1.0", path = "../ethers-contract", features = ["abigen"] }
anyhow = "1.0.31" anyhow = "1.0.31"
tokio = { version = "0.2.21", features = ["macros"] } tokio = { version = "0.2.21", features = ["macros"] }