Desktop: run HTTP API, show version

This commit is contained in:
Igor Katson 2023-12-06 12:14:26 +00:00
parent 3a69f04782
commit 2d43f41664
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
6 changed files with 71 additions and 14 deletions

View file

@ -53,3 +53,8 @@ pub use clone_to_owned::CloneToOwned;
pub use librqbit_core::magnet::*;
pub use librqbit_core::peer_id::*;
pub use librqbit_core::torrent_metainfo::*;
/// The cargo version of librqbit.
pub fn version() -> &'static str {
env!("CARGO_PKG_VERSION")
}