Skip to content

Commit c65f039

Browse files
committed
docs: [#319] add system dependencies
1 parent 954f81d commit c65f039

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

cSpell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"lcov",
4040
"leecher",
4141
"leechers",
42+
"libsqlite",
4243
"libtorrent",
4344
"Lphant",
4445
"metainfo",

src/lib.rs

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,26 @@
6868
//!
6969
//! ## Prerequisites
7070
//!
71+
//! The tracker has some system dependencies:
72+
//!
73+
//! Since we are using the `openssl` crate with the [vendored feature](https://docs.rs/openssl/latest/openssl/#vendored),
74+
//! enabled, you will need to install the following dependencies:
75+
//!
76+
//! ```text
77+
//! sudo apt-get install pkg-config libssl-dev make
78+
//! ```
79+
//!
80+
//! If you are using `SQLite3` as database driver, you will need to install the
81+
//! following dependency:
82+
//!
83+
//! ```text
84+
//! sudo apt-get install libsqlite3-dev
85+
//! ```
86+
//!
87+
//! > **NOTICE**: those are the commands for `Ubuntu`. If you are using a
88+
//! different OS, you will need to install the equivalent packages. Please
89+
//! refer to the documentation of your OS.
90+
//!
7191
//! With the default configuration you will need to create the `storage` directory:
7292
//!
7393
//! ```text

0 commit comments

Comments
 (0)