Documentation
# ==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--
#
# R50
#
# Copyright (C) 2018-2019, 2021-2023  Anonymous
#
# There are several releases over multiple years,
# they are listed as ranges, such as: "2018-2019".
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program.  If not, see <https://www.gnu.org/licenses/>.
#
# ::--::--::--::--::--::--::--::--::--::--::--::--::--::--::--::--

[package]

edition = '2021'

name = 'r50'
version = '0.18.2'

description = '...'
license = 'LGPL-3.0-or-later'
keywords = ['process-manager']
categories = ['command-line-utilities']

[dependencies]

blackhole = { version='>= 0.20.2, < 0.21', optional=true }
dia-args = { version='>= 0.59.4, < 0.60', optional=true }
nairud = { version='>= 0.5.2, < 0.6', optional=true, features=['std'] }
udsx = { version='>= 0.12, < 0.13', optional=true }
zeros = { version='>= 16, < 17', optional=true }

libc = { version='>= 0.2, < 0.3', optional=true }

[features]

server = ['nairud', 'blackhole', 'dia-args', 'udsx', 'zeros']
client = ['nairud', 'dia-args', 'libc', 'udsx']

[[bin]]

name = 'r50-server'
path = 'src/bin/server/main.rs'
required-features = ['server']

[[bin]]

name = 'r50'
path = 'src/bin/client/main.rs'
required-features = ['client']