-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
38 lines (33 loc) · 1.39 KB
/
Copy pathCargo.toml
File metadata and controls
38 lines (33 loc) · 1.39 KB
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 = "nostamper"
version = "0.3.0"
edition = "2021"
description = "Build and validate Event Timestamp Attestations (kind 3410) for Nostr: a lightweight, trusted-signer event-timestamping primitive complementary to NIP-03."
license = "Apache-2.0"
repository = "https://github.com/sashite/nostamper.rs"
readme = "README.md"
keywords = ["nostr", "nip", "timestamp", "attestation"]
categories = ["cryptography", "api-bindings"]
exclude = [".github/", "fuzz/", "rust-toolchain.toml", "rustfmt.toml", "deny.toml"]
[dependencies]
nostr = { version = "0.45", default-features = false, features = ["std"] }
# Security posture: no unsafe, no undocumented public surface, and the
# read/validation path is proven total by the compiler (no panic-capable
# operations). Test modules locally re-allow the test-only lints.
[lints.rust]
unsafe_code = "forbid"
missing_docs = "deny"
missing_debug_implementations = "warn"
[lints.clippy]
unwrap_used = "deny"
expect_used = "deny"
panic = "deny"
indexing_slicing = "deny"
arithmetic_side_effects = "deny"
[dev-dependencies]
proptest = "1.11.0"
# `Keys::generate` moved behind the `os-rng` feature in nostr 0.45. Only the
# tests and the doc example generate keys — the primitive itself never does — so
# the feature is asked for here rather than widening what every dependent
# compiles.
nostr = { version = "0.45", default-features = false, features = ["std", "os-rng"] }