# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "pragma-consumer" version = "0.1.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "SDK to consume Pragma data feeds" homepage = "https://pragma.build/" readme = "README.md" keywords = [ "pragma", "sdk", "consumer", "data", "feeds", ] license = "MIT" repository = "https://github.com/astraly-labs/pragma-node/" [lib] name = "pragma_consumer" path = "src/lib.rs" [[example]] name = "complete_flow" path = "examples/complete_flow.rs" [[example]] name = "mainnet_specific_block" path = "examples/mainnet_specific_block.rs" [[example]] name = "sepolia_custom_url_latest_block" path = "examples/sepolia_custom_url_latest_block.rs" [[example]] name = "sepolia_custom_url_pending_block" path = "examples/sepolia_custom_url_pending_block.rs" [[test]] name = "test_consumer" path = "tests/test_consumer.rs" [dependencies.pragma-common] version = "0.1.0" [dependencies.reqwest] version = "0.12.5" features = ["blocking"] [dependencies.serde_json] version = "1.0.122" features = ["arbitrary_precision"] [dependencies.starknet] version = "0.9.0" [dependencies.thiserror] version = "1.0.49" [dependencies.tokio] version = "1.11.0" features = [ "full", "full", ] [dev-dependencies.httpmock] version = "0.7.0" features = ["remote"] [dev-dependencies.rstest] version = "0.18.2"