From ea3d18c0ddf05f439794d73bc94f2088ff28dd41 Mon Sep 17 00:00:00 2001 From: Ali Behjati Date: Fri, 18 Feb 2022 15:12:42 +0100 Subject: [PATCH] Release v0.4.0 (#19) * Release v0.4.0 * Add no-entrypoint feature description in ReadMe --- Cargo.toml | 4 ++-- README.md | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 927d905..cf22fd3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pyth-client" -version = "0.3.0" -authors = ["Richard Brooks"] +version = "0.4.0" +authors = ["Pyth Data Foundation"] edition = "2018" license = "Apache-2.0" homepage = "https://pyth.network" diff --git a/README.md b/README.md index 294440b..72227dc 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,13 @@ Add a dependency to your Cargo.toml: pyth-client="" ``` +If you want to use this library in your on-chain program you should use `no-entrypoint` feature to prevent conflict between your program and this library's program. + +```toml +[dependencies] +pyth-client = {version = "", features = ["no-entrypoint"]} +``` + See [pyth-client on crates.io](https://crates.io/crates/pyth-client/) to get the latest version of the library. ## Usage