[package] name = "gistit-daemon" authors = ["Fabricio "] description = "Gistit daemon used for p2p file sharing" categories = ["command-line-utilities", "text-processing"] keywords = ["gistit"] edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/fabricio7p/gistit" readme = "./README.md" version = "0.2.1" homepage = "https://gistit.vercel.app/" [features] # Force openssl-sys to staticly link in the openssl library. Necessary when # cross compiling to x86_64-unknown-linux-musl. vendored = ["openssl-sys/vendored"] [dependencies] async-trait = "0.1.52" log = "0.4.14" either = "1.6.1" void = "1.0.2" env_logger = { version = "0.9.0", default-features = false, features = ["termcolor", "atty", "humantime"] } thiserror = "1.0.30" serde = { version = "1.0.136", features = ["derive"] } clap = { version = "3.1.0", features = ["derive"] } serde_json = "1.0.79" base64 = "0.13.0" zeroize = "1.5.2" gistit-ipc = { version = "0.2.0", path = "../gistit-ipc" } gistit-project = { version = "0.1.0", path = "../gistit-project" } gistit-proto = { version = "0.1.2", path = "../gistit-proto" } # Add openssl-sys as a direct dependency so it can be cross compiled to # x86_64-unknown-linux-musl using the "vendored" feature below openssl-sys = "0.9" [dependencies.tokio] features = ["macros", "fs", "rt", "rt-multi-thread", "sync", "io-util"] version = "1.17.0" [dependencies.libp2p] version = "0.42.2" default-features = false features = ["noise", "kad", "identify", "mplex", "dns-tokio", "tcp-tokio", "yamux", "request-response", "relay", "autonat", "websocket", "ping"] [profile.release] lto = true codegen-units = 1 opt-level = "s"