2024-02-19 15:13:06 +00:00
|
|
|
# Copyright (C) 2023 - 2024:
|
|
|
|
# The Trinitrix Project <soispha@vhack.eu, antifallobst@systemausfall.org>
|
2024-03-26 18:56:20 +00:00
|
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
#
|
2024-02-19 15:13:06 +00:00
|
|
|
# This file is part of the Trixy crate for Trinitrix.
|
|
|
|
#
|
|
|
|
# Trixy is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the Lesser GNU 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 General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# and the Lesser GNU General Public License along with this program.
|
|
|
|
# If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
2023-12-23 15:07:17 +00:00
|
|
|
[package]
|
|
|
|
name = "trixy"
|
2024-05-04 08:26:03 +00:00
|
|
|
version = "0.1.1"
|
2023-12-23 15:07:17 +00:00
|
|
|
edition = "2021"
|
2024-05-03 18:02:17 +00:00
|
|
|
description = "A rust crate used to generate multi-language apis for your application"
|
2024-05-03 17:32:44 +00:00
|
|
|
license = "LGPL-3.0-or-later"
|
|
|
|
repository = "https://git.nerdcult.net/trinitrix/trixy"
|
|
|
|
categories = ["config", "compilers", "development-tools::ffi"]
|
|
|
|
keywords = ["ffi", "c-ffi", "api"]
|
2023-12-23 15:07:17 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-03-26 09:38:14 +00:00
|
|
|
clap = { version = "4.5.4", features = ["derive"], optional = true }
|
2024-03-26 16:28:21 +00:00
|
|
|
convert_case = { version = "0.6.0", optional = true }
|
2024-05-19 11:50:50 +00:00
|
|
|
proc-macro2 = { version = "1.0.82", optional = true }
|
|
|
|
quote = { version = "1.0.36", optional = true }
|
|
|
|
syn = { version = "2.0.64", features = [
|
2024-03-26 16:28:21 +00:00
|
|
|
"extra-traits",
|
|
|
|
"full",
|
|
|
|
"parsing",
|
|
|
|
], optional = true }
|
2024-05-19 11:50:50 +00:00
|
|
|
thiserror = { version = "1.0.61", optional = true }
|
|
|
|
pulldown-cmark = { version = "0.11.0", optional = true }
|
2024-03-26 09:38:14 +00:00
|
|
|
# macros
|
2024-05-19 11:50:50 +00:00
|
|
|
prettyplease = { version = "0.2.20", optional = true }
|
2024-03-26 09:38:14 +00:00
|
|
|
|
|
|
|
# parser
|
2024-03-26 16:28:21 +00:00
|
|
|
regex = { version = "1.10.4", optional = true }
|
2024-03-26 09:38:14 +00:00
|
|
|
|
|
|
|
# types
|
2024-05-19 11:50:50 +00:00
|
|
|
libc = { version = "0.2.155", optional = true }
|
2024-03-26 16:28:21 +00:00
|
|
|
log = { version = "0.4.21", optional = true }
|
2024-03-26 09:38:14 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
# parser
|
|
|
|
pretty_assertions = "1.4.0"
|
|
|
|
|
|
|
|
[features]
|
2024-03-26 14:56:55 +00:00
|
|
|
# default = ["parser", "types", "macros", "build-binary"]
|
|
|
|
default = ["parser", "types", "macros"]
|
|
|
|
build-binary = ["parser", "types", "macros", "clap", "pulldown-cmark"]
|
2024-03-26 09:38:14 +00:00
|
|
|
|
2024-03-26 16:28:21 +00:00
|
|
|
parser = ["regex", "thiserror", "convert_case"]
|
|
|
|
types = [
|
|
|
|
"parser",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"thiserror",
|
|
|
|
"convert_case",
|
|
|
|
]
|
|
|
|
macros = [
|
|
|
|
"parser",
|
|
|
|
"types",
|
|
|
|
"prettyplease",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"convert_case",
|
|
|
|
"pulldown-cmark",
|
|
|
|
]
|
2024-03-26 09:51:11 +00:00
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
name = "trixy"
|
|
|
|
required-features = ["build-binary"]
|