mirror of
https://github.com/Blah-IM/blahrs.git
synced 2025-09-13 05:55:22 +00:00
50 lines
1 KiB
TOML
50 lines
1 KiB
TOML
[package]
|
|
name = "blah-types"
|
|
version = "0.0.0"
|
|
edition = "2024"
|
|
|
|
[features]
|
|
default = ["ed25519-dalek/default"]
|
|
schemars = ["dep:schemars"]
|
|
rusqlite = ["dep:rusqlite"]
|
|
|
|
unsafe_use_mock_instant_for_testing = ["dep:mock_instant"]
|
|
|
|
[[bench]]
|
|
name = "crypto_ops"
|
|
harness = false
|
|
|
|
[dependencies]
|
|
bitflags = "2"
|
|
ed25519-dalek = { version = "2", default-features = false }
|
|
hex = { version = "0.4", features = ["serde"] }
|
|
html-escape = "0.2"
|
|
rand = { version = "0.9", default-features = false, features = ["thread_rng"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_jcs = "0.1"
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
url = { version = "2", features = ["serde"] }
|
|
|
|
[dependencies.rusqlite]
|
|
version = "0.37"
|
|
optional = true
|
|
|
|
[dependencies.schemars]
|
|
version = "1"
|
|
optional = true
|
|
features = ["url2"]
|
|
|
|
[dependencies.mock_instant]
|
|
version = "0.6"
|
|
optional = true
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.7"
|
|
ed25519-dalek = { version = "2", features = ["rand_core"] }
|
|
expect-test = "1"
|
|
rand = { version = "0.9", features = ["small_rng"] }
|
|
sha2 = "0.10"
|
|
|
|
[lints]
|
|
workspace = true
|