| 1 | [package] |
| 2 | name = "vineyard" |
| 3 | version = "0.1.0" |
| 4 | edition = "2024" |
| 5 | rust-version = "1.85" |
| 6 | description = "a persistent nostr relay for git forges" |
| 7 | publish = false |
| 8 | |
| 9 | [dependencies] |
| 10 | anyhow = "1" |
| 11 | clap = { version = "4", features = ["derive"] } |
| 12 | futures-util = "0.3" |
| 13 | fs2 = "0.4" |
| 14 | http-body-util = "0.1" |
| 15 | hyper = { version = "1", features = ["server", "http1"] } |
| 16 | hyper-util = { version = "0.1", features = ["tokio"] } |
| 17 | nostr = "=0.45.5" |
| 18 | nostr-database = "=0.45.2" |
| 19 | rusqlite = { version = "0.38", features = ["bundled"] } |
| 20 | serde = { version = "1", features = ["derive"] } |
| 21 | serde_json = "1" |
| 22 | tokio = { version = "1", features = ["macros", "rt-multi-thread", "signal", "net", "sync", "time", "io-util"] } |
| 23 | tokio-util = { version = "0.7", features = ["rt"] } |
| 24 | tokio-tungstenite = { version = "0.28", features = ["rustls-tls-webpki-roots"] } |
| 25 | toml = "0.8" |
| 26 | tracing = "0.1" |
| 27 | tracing-subscriber = { version = "0.3", features = ["env-filter"] } |
| 28 | url = "2" |
| 29 | |
| 30 | [lints.clippy] |
| 31 | cargo = { level = "warn", priority = -1 } |
| 32 | nursery = { level = "warn", priority = -1 } |
| 33 | pedantic = { level = "warn", priority = -1 } |
| 34 | |
| 35 | blanket_clippy_restriction_lints = "allow" |
| 36 | restriction = { level = "warn", priority = -1 } |
| 37 | |
| 38 | arbitrary_source_item_ordering = "allow" |
| 39 | arithmetic_side_effects = "allow" |
| 40 | decimal_literal_representation = "allow" |
| 41 | else_if_without_else = "allow" |
| 42 | error_impl_error = "allow" |
| 43 | exhaustive_enums = "allow" |
| 44 | exhaustive_structs = "allow" |
| 45 | field_scoped_visibility_modifiers = "allow" |
| 46 | implicit_return = "allow" |
| 47 | indexing_slicing = "allow" |
| 48 | integer_division = "allow" |
| 49 | integer_division_remainder_used = "allow" |
| 50 | missing_trait_methods = "allow" |
| 51 | missing_docs_in_private_items = "allow" |
| 52 | missing_errors_doc = "allow" |
| 53 | missing_inline_in_public_items = "allow" |
| 54 | missing_panics_doc = "allow" |
| 55 | module_name_repetitions = "allow" |
| 56 | multiple_crate_versions = "allow" |
| 57 | question_mark_used = "allow" |
| 58 | ref_patterns = "allow" |
| 59 | pub_with_shorthand = "allow" |
| 60 | separated_literal_suffix = "allow" |
| 61 | single_call_fn = "allow" |
| 62 | std_instead_of_alloc = "allow" |
| 63 | std_instead_of_core = "allow" |
| 64 | tests_outside_test_module = "allow" |
| 65 | |
| 66 | [profile.release] |
| 67 | lto = "thin" |
| 68 | strip = true |