24 lines
579 B
TOML
24 lines
579 B
TOML
|
[package]
|
||
|
name = "apb"
|
||
|
version = "0.1.0"
|
||
|
edition = "2021"
|
||
|
|
||
|
[lib]
|
||
|
|
||
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||
|
|
||
|
[dependencies]
|
||
|
chrono = { version = "0.4", features = ["serde"] }
|
||
|
thiserror = "1.0"
|
||
|
serde_json = { version = "1.0", optional = true }
|
||
|
reqwest = { version = "0.12", features = ["json"], optional = true }
|
||
|
paste = "1.0.14"
|
||
|
sea-orm = { version = "0.12", optional = true }
|
||
|
tracing = "0.1.40"
|
||
|
|
||
|
[features]
|
||
|
default = ["fetch", "dict", "orm"]
|
||
|
fetch = ["dep:reqwest"]
|
||
|
dict = ["dep:serde_json"]
|
||
|
orm = ["dep:sea-orm"]
|