# stargazer - A Gemini Server
# Copyright (C) 2021 Ben Aaron Goldberg <ben@benaaron.dev>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
[package]
name = "stargazer"
version = "1.0.1"
authors = ["Sashanoraa <sasha@noraa.gay>"]
edition = "2018"
description = "A fast and easy to use Gemini server"
homepage = "https://sr.ht/~zethra/stargazer/"
repository = "https://git.sr.ht/~zethra/stargazer/"
keywords = ["server", "gemini", "hypertext", "internet", "protocol"]
categories = ["network-programming"]
readme = "README.md"
license = "AGPL-3.0-or-later"
include = ["src/**/*", "LICENSE", "README.md"]
[dependencies]
async-executor = "1.3"
async-net = "1.4"
async-fs = "1.3"
async-io = "1.1"
async-channel = "1.5"
async-process = "1.0"
futures-lite = "1.8"
num_cpus = "1.13"
blocking = "1.0"
dirs = "4.0"
rust-ini = "0.17"
regex = "1.4"
rcgen = "0.9"
x509-parser = "0.13"
base64 = "0.13"
sha2 = "0.10"
rustls-pemfile = "0.3"
mime_guess = "2.0"
net2 = "0.2"
percent-encoding = "2.1"
uriparse = "0.6"
anyhow = "1.0"
once_cell = "1.4"
crossbeam-channel = "0.5"
signal-hook = "0.3"
signal-hook-async-std = "~0.2.1"
cfg-if = "1.0"
libc = "0.2"
colored = "2.0"
is_executable = "1.0"
users = "0.11"
os_str_bytes = "6.0"
humantime = "2.1"
[dependencies.futures-rustls]
version = "0.22"
features = ["dangerous_configuration"]
[dependencies.time]
version = "0.3"
features = ["local-offset"]
[dependencies.log]
version = "0.4"
features = ["std"]
[build-dependencies]
structopt = "0.3"
[profile.release]
lto = "fat"
codegen-units = 1