diff --git a/Cargo.toml b/Cargo.toml index f79df0c4..530bd5dd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] +resolver = "2" members = [ "examples/rust", # 1.11.0+solana.1.17.4 "yellowstone-grpc-client", # 1.12.0+solana.1.17.4 @@ -7,6 +8,21 @@ members = [ "yellowstone-grpc-tools", # 1.0.0-rc.6+solana.1.17.4 ] +[workspace.package] +authors = ["Triton One"] +edition = "2021" +homepage = "https://triton.one" +repository = "https://github.com/rpcpool/yellowstone-grpc" +license = "Apache-2.0" +keywords = ["solana"] + +[workspace.dependencies] +solana-account-decoder = "=1.17.4" +solana-geyser-plugin-interface = "=1.17.4" +solana-logger = "=1.17.4" +solana-sdk = "=1.17.4" +solana-transaction-status = "=1.17.4" + [profile.release] debug = true lto = true diff --git a/examples/rust/Cargo.toml b/examples/rust/Cargo.toml index 3ef357db..f83e205e 100644 --- a/examples/rust/Cargo.toml +++ b/examples/rust/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "yellowstone-grpc-client-simple" version = "1.11.0+solana.1.17.4" -authors = ["Triton One"] -edition = "2021" +authors = { workspace = true } +edition = { workspace = true } +homepage = { workspace = true } +repository = { workspace = true } +license = { workspace = true } +keywords = { workspace = true } publish = false [[bin]] @@ -21,8 +25,8 @@ hex = "0.4.3" log = { version = "0.4.14", features = ["std"] } maplit = "1.0.2" serde_json = "1.0.86" -solana-sdk = "=1.17.4" -solana-transaction-status = "=1.17.4" +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } tokio = { version = "1.32.0", features = ["rt-multi-thread", "macros", "time"] } yellowstone-grpc-client = { path = "../../yellowstone-grpc-client" } yellowstone-grpc-proto = { path = "../../yellowstone-grpc-proto" } diff --git a/yellowstone-grpc-geyser/Cargo.toml b/yellowstone-grpc-geyser/Cargo.toml index 3dcf59a6..d7ce3cee 100644 --- a/yellowstone-grpc-geyser/Cargo.toml +++ b/yellowstone-grpc-geyser/Cargo.toml @@ -1,9 +1,13 @@ [package] name = "yellowstone-grpc-geyser" version = "1.11.0+solana.1.17.4" -authors = ["Triton One"] -edition = "2021" +authors = { workspace = true } +edition = { workspace = true } description = "Yellowstone gRPC Geyser Plugin" +homepage = { workspace = true } +repository = { workspace = true } +license = { workspace = true } +keywords = { workspace = true } publish = false [lib] @@ -26,10 +30,10 @@ log = "0.4.17" prometheus = "0.13.2" serde = { version = "1.0.145", features = ["derive"] } serde_json = "1.0.86" -solana-geyser-plugin-interface = "=1.17.4" -solana-logger = "=1.17.4" -solana-sdk = "=1.17.4" -solana-transaction-status = "=1.17.4" +solana-geyser-plugin-interface = { workspace = true } +solana-logger = { workspace = true } +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } spl-token-2022 = { version = "0.9.0", features = ["no-entrypoint"] } tokio = { version = "1.32.0", features = ["rt-multi-thread", "macros", "time", "fs"] } tokio-stream = "0.1.11" diff --git a/yellowstone-grpc-proto/Cargo.toml b/yellowstone-grpc-proto/Cargo.toml index e0b5cf0a..54eacd06 100644 --- a/yellowstone-grpc-proto/Cargo.toml +++ b/yellowstone-grpc-proto/Cargo.toml @@ -1,20 +1,20 @@ [package] name = "yellowstone-grpc-proto" version = "1.11.0+solana.1.17.4" -authors = ["Triton One"] -edition = "2021" +authors = { workspace = true } +edition = { workspace = true } description = "Yellowstone gRPC Geyser Protobuf Definitions" -homepage = "https://triton.one" -repository = "https://github.com/rpcpool/yellowstone-grpc" -license = "Apache-2.0" -keywords = ["solana"] +homepage = { workspace = true } +repository = { workspace = true } +license = { workspace = true } +keywords = { workspace = true } [dependencies] bincode = "1.3.3" prost = "0.12.1" -solana-account-decoder = "=1.17.4" -solana-sdk = "=1.17.4" -solana-transaction-status = "=1.17.4" +solana-account-decoder = { workspace = true } +solana-sdk = { workspace = true } +solana-transaction-status = { workspace = true } tonic = "0.10.2" [build-dependencies] diff --git a/yellowstone-grpc-tools/Cargo.toml b/yellowstone-grpc-tools/Cargo.toml index db76eaf5..d2204172 100644 --- a/yellowstone-grpc-tools/Cargo.toml +++ b/yellowstone-grpc-tools/Cargo.toml @@ -1,9 +1,13 @@ [package] name = "yellowstone-grpc-tools" version = "1.0.0-rc.6+solana.1.17.4" -authors = ["Triton One"] -edition = "2021" +authors = { workspace = true } +edition = { workspace = true } description = "Yellowstone gRPC Tools" +homepage = { workspace = true } +repository = { workspace = true } +license = { workspace = true } +keywords = { workspace = true } publish = false [dependencies]