125 lines
2.2 KiB
TOML
125 lines
2.2 KiB
TOML
# 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 = "2024"
|
|
name = "asic-rs-core"
|
|
version = "0.8.1"
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Core library for asic-rs, asic-rs-firmware, and asic-rs-makes."
|
|
readme = false
|
|
license = "Apache-2.0"
|
|
|
|
[features]
|
|
python = [
|
|
"dep:asic-rs-pydantic",
|
|
"dep:pyo3",
|
|
]
|
|
|
|
[lib]
|
|
name = "asic_rs_core"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.anyhow]
|
|
version = "1.0"
|
|
|
|
[dependencies.asic-rs-pydantic]
|
|
version = "0.8.1"
|
|
optional = true
|
|
|
|
[dependencies.async-trait]
|
|
version = "0.1"
|
|
|
|
[dependencies.chrono]
|
|
version = "0.4.44"
|
|
|
|
[dependencies.chrono-tz]
|
|
version = "0.10.4"
|
|
features = ["serde"]
|
|
|
|
[dependencies.futures]
|
|
version = "0.3"
|
|
|
|
[dependencies.macaddr]
|
|
version = "1.0"
|
|
features = ["serde_std"]
|
|
|
|
[dependencies.measurements]
|
|
version = "0.11"
|
|
features = ["serde"]
|
|
|
|
[dependencies.pyo3]
|
|
version = "0.28.2"
|
|
features = [
|
|
"chrono-tz",
|
|
"experimental-async",
|
|
"experimental-inspect",
|
|
"multiple-pymethods",
|
|
"time",
|
|
]
|
|
optional = true
|
|
|
|
[dependencies.reqwest]
|
|
version = "0.13.3"
|
|
features = [
|
|
"json",
|
|
"gzip",
|
|
"rustls",
|
|
"multipart",
|
|
"stream",
|
|
]
|
|
default-features = false
|
|
|
|
[dependencies.secrecy]
|
|
version = "0.10"
|
|
|
|
[dependencies.semver]
|
|
version = "1.0"
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[dependencies.serde_json]
|
|
version = "1.0"
|
|
|
|
[dependencies.strum]
|
|
version = "0.28"
|
|
features = ["derive"]
|
|
|
|
[dependencies.tokio]
|
|
version = "1.50"
|
|
features = ["full"]
|
|
|
|
[dependencies.tracing]
|
|
version = "0.1.44"
|
|
features = ["log"]
|
|
|
|
[dependencies.ts-rs]
|
|
version = "12.0.1"
|
|
features = ["no-serde-warnings"]
|
|
|
|
[dependencies.url]
|
|
version = "2.5"
|
|
|
|
[lints.clippy]
|
|
expect_used = "deny"
|
|
panic = "deny"
|
|
unwrap_used = "deny"
|
|
|
|
[lints.rust]
|
|
warnings = "deny"
|