-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
38 lines (32 loc) · 1.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[package]
name = "factordb"
version = "0.3.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Rust wrapper for FactorDB API"
homepage = "https://github.com/megascrapper/factordb-rust"
repository = "https://github.com/megascrapper/factordb-rust"
readme = "README.md"
categories = ["api-bindings", "mathematics", "command-line-utilities"]
keywords = ["factordb", "prime-numbers", "factorization"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"
reqwest = { version = "0.12.2", features = ["json"] }
num-bigint = { version = "0.4.3", features = ["serde"] }
thiserror = "1.0.30"
tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread"] }
log = "0.4.20"
# CLI dependencies
clap = { version = "4.4.18", features = ["derive"], optional = true }
env_logger = { version = "0.11.1", optional = true }
human-panic = { version = "2.0.0", optional = true }
[features]
blocking = ["reqwest/blocking"]
cli = ["clap", "env_logger", "human-panic", "blocking"]
[[bin]]
name = "factordb"
required-features = ["cli"]
[package.metadata.docs.rs]
all-features = true