Expand description
Persisted configuration schema for Avestruz.
Settings are stored via COSMIC’s config system and survive restarts.
Secrets are not settings: an account’s secret key is in the system keyring
(see crate::nostr::account), and only its public half is named here.
Structs§
- Config
- Configuration for Avestruz
Enums§
- LogLevel
- How much is logged, to the journal or the terminal.
Constants§
- DEFAULT_
RELAYS - The relays a new installation reads from: three large public relays.
- KEEP_
DAYS_ CHOICES - KEEP_
DAYS_ DEFAULT - For how many days the event store keeps what it can ask the relays for
again, unless the settings say otherwise; and the numbers of days the
settings offer, of which
0is for good. - NOTE_
TEXT_ SIZE_ DEFAULT - How large the text of notes is set: unless the settings say otherwise, and at the least and the most they can say.
- NOTE_
TEXT_ SIZE_ MAX - NOTE_
TEXT_ SIZE_ MIN