Skip to content

Commit

Permalink
Removed unused deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Kayanski committed Jan 8, 2025
1 parent 7767035 commit 5b2e031
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 61 deletions.
7 changes: 0 additions & 7 deletions interchain/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions modules/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

72 changes: 25 additions & 47 deletions modules/contracts/adapters/oracle/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[package]
description = "The oracle adapter is an Abstract adapter for querying oracle prices. It provides a common interface for all oracles"
name = "abstract-oracle-adapter"
name = "abstract-oracle-adapter"

authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
version = { workspace = true }

exclude = ["contract.wasm", "hash.txt"]
exclude = ["contract.wasm", "hash.txt"]
resolver = "2"


Expand All @@ -18,76 +18,54 @@ crate-type = ["cdylib", "rlib"]
name = "deploy"

[[example]]
name = "schema"
name = "schema"
required-features = ["schema"]

[features]
default = ["export"]
export = []
schema = ["abstract-adapter/schema"]
testing = [
"dep:abstract-client",
"dep:cw20",
"dep:serde_json",
"abstract-adapter/test-utils",
]
export = []
schema = ["abstract-adapter/schema"]
testing = ["dep:abstract-client", "abstract-adapter/test-utils"]

# Supported Oracles
pyth = ["abstract-pyth-adapter/full_integration"]

# Builds
[package.metadata.optimizer]
builds = [
{ name = "xion", features = [
"pyth",
] },
{ name = "neutron", features = [
"pyth",
] },
{ name = "osmosis", features = [
"pyth",
] },
{ name = "xion", features = ["pyth"] },
{ name = "neutron", features = ["pyth"] },
{ name = "osmosis", features = ["pyth"] },
]

[dependencies]
abstract-adapter = { workspace = true }
cosmwasm-schema = { workspace = true }
cosmwasm-std = { workspace = true }
cw-asset = { workspace = true }
cw-orch = { workspace = true, features = ["daemon"] }
cw-orch-osmosis-test-tube = { workspace = true, optional = true }
cw-storage-plus = { workspace = true }
cw20 = { workspace = true, optional = true }
schemars = { workspace = true }
thiserror = { workspace = true }
cosmwasm-schema = { workspace = true }
cosmwasm-std = { workspace = true }
cw-orch = { workspace = true, features = ["daemon"] }

# Local
abstract-adapter-utils = { workspace = true }
abstract-oracle-standard = { workspace = true }

# Pyth
abstract-pyth-adapter = { path = "../../../../integrations/oracles/pyth" }

# Testing #
abstract-client = { workspace = true, optional = true }
serde_json = { version = "1.0", optional = true }

[dev-dependencies]
abstract-interface = { workspace = true, features = ["daemon"] }
anyhow = { workspace = true }
clap = { workspace = true }
dotenv = "0.15.0"
env_logger = "0.11.3"
semver = { workspace = true }
tokio = { workspace = true }

bip32 = { version = "0.5.2" }
oracle = { path = ".", features = [
"pyth",
"testing",
], package = "abstract-oracle-adapter" }


cw-utils = { workspace = true }
cw20 = { workspace = true }
anyhow = { workspace = true }
clap = { workspace = true }
dotenv = "0.15.0"
env_logger = "0.11.3"
semver = { workspace = true }
tokio = { workspace = true }

bip32 = { version = "0.5.2" }
oracle = { path = ".", features = ["pyth", "testing"], package = "abstract-oracle-adapter" }


cw-utils = { workspace = true }
cw20 = { workspace = true }
cw20-base = { workspace = true }

0 comments on commit 5b2e031

Please sign in to comment.