# Copyright (C) 2023 - 2024: # The Trinitrix Project # SPDX-License-Identifier: GPL-3.0-or-later # # 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 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 GNU General Public License along with this program. # If not, see . [package] name = "trixy" version = "0.4.0" edition = "2021" description = "A rust crate used to generate multi-language apis for your application" license = "GPL-3.0-or-later" repository = "https://codeberg.org/trinitrix/trixy" categories = ["config", "compilers", "development-tools::ffi"] keywords = ["ffi", "c-ffi", "api"] [dependencies] clap = { version = "4.5.8", features = ["derive"], optional = true } convert_case = { version = "0.6.0", optional = true } proc-macro2 = { version = "1.0.86", optional = true } quote = { version = "1.0.36", optional = true } syn = { version = "2.0.68", features = [ "extra-traits", "full", "parsing", ], optional = true } thiserror = { version = "1.0.61", optional = true } pulldown-cmark = { version = "0.11.0", optional = true } anyhow = { version = "1.0.86", optional = true } # macros prettyplease = { version = "0.2.20", optional = true } # parser regex = { version = "1.10.5", optional = true } # types libc = { version = "0.2.155", optional = true } log = { version = "0.4.22", optional = true } [dev-dependencies] # parser pretty_assertions = "1.4.0" [features] # default = ["parser", "types", "macros", "build-binary"] default = ["parser", "types", "macros"] build-binary = ["parser", "types", "macros", "clap", "pulldown-cmark", "anyhow"] 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", ] [[bin]] name = "trixy" required-features = ["build-binary"]