# 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" rust-version = "1.65.0" name = "ex3-ic-agent" version = "0.24.1" authors = ["DFINITY Stiftung "] include = [ "src", "Cargo.toml", "../LICENSE", "README.md", ] description = "Agent library to communicate with the Internet Computer, following the Public Specification." homepage = "https://docs.rs/ic-agent" documentation = "https://docs.rs/ic-agent" readme = "README.md" keywords = [ "internet-computer", "agent", "icp", "dfinity", ] categories = [ "api-bindings", "data-structures", "no-std", ] license = "Apache-2.0" repository = "https://github.com/dfinity/agent-rs" resolver = "1" [package.metadata.docs.rs] targets = [ "x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", ] rustdoc-args = ["--cfg=docsrs"] features = ["hyper"] [dependencies.async-trait] version = "0.1.68" [dependencies.backoff] version = "0.4.0" [dependencies.base32] version = "0.4.0" [dependencies.byteorder] version = "1.3.2" [dependencies.candid] version = "0.8.4" [dependencies.futures-util] version = "0.3.21" [dependencies.hex] version = "0.4.3" [dependencies.http] version = "0.2.6" [dependencies.http-body] version = "0.4.5" [dependencies.hyper] version = "0.14" features = [ "client", "http2", "http1", ] optional = true [dependencies.ic-certification] version = "0.24" [dependencies.ic-verify-bls-signature] version = "0.1" [dependencies.k256] version = "0.13.1" features = ["pem"] [dependencies.leb128] version = "0.2.5" [dependencies.mime] version = "0.3.16" [dependencies.pem] version = "2.0.1" optional = true [dependencies.pkcs8] version = "0.10.2" features = ["std"] [dependencies.rand] version = "0.8.5" [dependencies.reqwest] version = "= 0.11.18" features = [ "blocking", "json", "rustls-tls", "stream", ] optional = true default-features = false [dependencies.ring] version = "0.16.20" features = ["std"] [dependencies.sec1] version = "0.7.2" features = ["pem"] [dependencies.serde] version = "1.0.162" features = ["derive"] [dependencies.serde_bytes] version = "0.11.9" [dependencies.serde_cbor] version = "0.11.2" [dependencies.serde_repr] version = "0.1.12" [dependencies.sha2] version = "0.10.6" [dependencies.simple_asn1] version = "0.6.1" [dependencies.thiserror] version = "1.0.40" [dependencies.url] version = "2.1.0" [dev-dependencies.serde_json] version = "1.0.79" [features] default = [ "pem", "reqwest", ] hyper = [ "dep:hyper", "dep:hyper-rustls", ] ic_ref_tests = ["default"] reqwest = [ "dep:reqwest", "dep:hyper-rustls", ] wasm-bindgen = [ "dep:js-sys", "dep:wasm-bindgen", "dep:wasm-bindgen-futures", "dep:getrandom", "dep:web-sys", "dep:time", "backoff/wasm-bindgen", ] [target."cfg(not(target_family = \"wasm\"))".dependencies.hyper-rustls] version = "=0.24.0" features = [ "webpki-roots", "http2", ] optional = true [target."cfg(not(target_family = \"wasm\"))".dependencies.rustls] version = "=0.21.1" [target."cfg(not(target_family = \"wasm\"))".dependencies.tokio] version = "1.24.2" features = ["time"] [target."cfg(not(target_family = \"wasm\"))".dev-dependencies.mockito] version = "1.0.2" [target."cfg(not(target_family = \"wasm\"))".dev-dependencies.tokio] version = "1.24.2" features = ["full"] [target."cfg(target_family = \"wasm\")".dependencies.getrandom] version = "0.2" features = ["js"] optional = true [target."cfg(target_family = \"wasm\")".dependencies.js-sys] version = "0.3" optional = true [target."cfg(target_family = \"wasm\")".dependencies.time] version = "0.3" features = ["wasm-bindgen"] optional = true [target."cfg(target_family = \"wasm\")".dependencies.wasm-bindgen] version = "0.2" optional = true [target."cfg(target_family = \"wasm\")".dependencies.wasm-bindgen-futures] version = "0.4" optional = true [target."cfg(target_family = \"wasm\")".dependencies.web-sys] version = "0.3" features = ["Window"] optional = true [target."cfg(target_family = \"wasm\")".dev-dependencies.wasm-bindgen-test] version = "0.3.34" [target."cfg(target_family = \"wasm\")".dev-dependencies.web-sys] version = "0.3" features = [ "Navigator", "ServiceWorkerContainer", "ServiceWorker", "ServiceWorkerRegistration", "ServiceWorkerState", ]