# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "mech-logic"
version = "0.2.72"
authors = ["Corey Montella <corey@mech-lang.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Logic library for the Mech language"
homepage = "https://mech-lang.org"
documentation = "http://docs.mech-lang.org"
readme = "README.md"
keywords = [
    "mech",
    "language",
    "programming",
]
license = "Apache-2.0"
repository = "https://github.com/mech-machines/logic"

[badges.gitlab]
branch = "main"
repository = "mech-lang/machines/logic"

[badges.maintenance]
status = "actively-developed"

[features]
and = ["logic"]
atom = ["mech-core/atom"]
base = [
    "baselib",
    "pretty_print",
    "serde",
    "compiler",
    "program",
    "logic_default",
    "statements_default",
    "subscript_default",
    "mech-core/base",
]
baselib = [
    "bool",
    "string",
    "f64",
    "c64",
    "r64",
    "set",
    "map",
    "table",
    "tuple",
    "record",
    "atom",
    "enum",
    "row_vectord",
    "vectord",
    "matrixd",
    "subscript_range",
    "logical_indexing",
    "subscript_formula",
    "variable_define",
    "variable_assign",
    "kind_define",
    "kind_annotation",
    "variables",
    "functions",
    "formulas",
    "mech-core/baselib",
]
bool = ["mech-core/bool"]
c64 = [
    "complex",
    "mech-core/c64",
]
compiler = ["mech-core/compiler"]
complex = [
    "f64",
    "numbers",
    "mech-core/complex",
]
default = [
    "baselib",
    "pretty_print",
    "serde",
    "compiler",
    "program",
    "u8",
    "u16",
    "u32",
    "u64",
    "u128",
    "i8",
    "i16",
    "i32",
    "i64",
    "i128",
    "f32",
    "f64",
    "c64",
    "r64",
    "logic_default",
    "statements_default",
    "subscript_default",
    "mech-core/default",
]
dot_indexing = [
    "subscript",
    "mech-core/dot_indexing",
]
dynamic_matrix = [
    "matrixd",
    "vectord",
    "row_vectord",
    "mech-core/dynamic_matrix",
]
enum = ["mech-core/enum"]
f32 = [
    "floats",
    "mech-core/f32",
]
f64 = [
    "floats",
    "mech-core/f64",
]
fixed_matrix = [
    "matrix4",
    "matrix3",
    "matrix2",
    "matrix1",
    "matrix2x3",
    "matrix3x2",
    "mech-core/fixed_matrix",
]
fixed_row_vector = [
    "row_vector4",
    "row_vector3",
    "row_vector2",
    "mech-core/fixed_row_vector",
]
fixed_vector = [
    "vector4",
    "vector3",
    "vector2",
    "mech-core/fixed_vector",
]
floats = [
    "numbers",
    "mech-core/floats",
]
formulas = ["mech-core/formulas"]
functions = [
    "symbol_table",
    "mech-core/functions",
]
i128 = [
    "signed_ints",
    "mech-core/i128",
]
i16 = [
    "signed_ints",
    "mech-core/i16",
]
i32 = [
    "signed_ints",
    "mech-core/i32",
]
i64 = [
    "signed_ints",
    "mech-core/i64",
]
i8 = [
    "signed_ints",
    "mech-core/i8",
]
kind_annotation = [
    "functions",
    "mech-core/kind_annotation",
]
kind_define = [
    "kind_annotation",
    "statements",
    "mech-core/kind_define",
]
logic = [
    "functions",
    "bool",
]
logic_default = [
    "and",
    "or",
    "not",
    "xor",
]
logical_indexing = [
    "subscript",
    "vectord",
    "bool",
    "mech-core/logical_indexing",
]
map = ["mech-core/map"]
matrix = [
    "nalgebra",
    "mech-core/matrix",
]
matrix1 = [
    "matrix",
    "mech-core/matrix1",
]
matrix2 = [
    "matrix",
    "mech-core/matrix2",
    "mech-core/matrix",
]
matrix2x3 = [
    "matrix",
    "mech-core/matrix2x3",
]
matrix3 = [
    "matrix",
    "mech-core/matrix3",
]
matrix3x2 = [
    "matrix",
    "mech-core/matrix3x2",
]
matrix4 = [
    "matrix",
    "mech-core/matrix4",
]
matrixd = [
    "matrix",
    "mech-core/matrixd",
]
no_std = ["mech-core/no_std"]
not = ["logic"]
numbers = ["mech-core/numbers"]
or = ["logic"]
pretty_print = ["mech-core/pretty_print"]
program = ["mech-core/program"]
r64 = [
    "rational",
    "mech-core/r64",
]
rational = [
    "i64",
    "numbers",
    "mech-core/rational",
]
record = [
    "tuple",
    "kind_annotation",
    "mech-core/record",
]
row_vector2 = [
    "matrix",
    "mech-core/row_vector2",
]
row_vector3 = [
    "matrix",
    "mech-core/row_vector3",
]
row_vector4 = [
    "matrix",
    "mech-core/row_vector4",
]
row_vectord = [
    "matrix",
    "mech-core/row_vectord",
]
serde = ["mech-core/serde"]
set = ["mech-core/set"]
signed_ints = [
    "numbers",
    "mech-core/signed_ints",
]
statements = ["mech-core/statements"]
statements_default = [
    "variable_assign",
    "variable_define",
    "kind_define",
]
stdlib = [
    "bool",
    "string",
    "u8",
    "u16",
    "u32",
    "u64",
    "u128",
    "i8",
    "i16",
    "i32",
    "i64",
    "i128",
    "f32",
    "f64",
    "c64",
    "r64",
    "set",
    "map",
    "table",
    "tuple",
    "record",
    "atom",
    "matrix1",
    "matrix2",
    "matrix3",
    "matrix4",
    "matrix2x3",
    "matrix3x2",
    "row_vector2",
    "row_vector3",
    "row_vector4",
    "vector2",
    "vector3",
    "vector4",
    "row_vectord",
    "vectord",
    "matrixd",
    "subscript_range",
    "logical_indexing",
    "swizzle",
    "subscript_formula",
    "dot_indexing",
    "variable_define",
    "variable_assign",
    "kind_define",
    "kind_annotation",
    "variables",
    "functions",
    "formulas",
]
string = ["mech-core/string"]
subscript = ["mech-core/subscript"]
subscript_default = [
    "subscript_slice",
    "subscript_range",
    "logical_indexing",
    "swizzle",
    "subscript_formula",
    "dot_indexing",
]
subscript_formula = [
    "subscript_slice",
    "formulas",
    "mech-core/subscript_formula",
]
subscript_range = [
    "subscript_slice",
    "vectord",
    "mech-core/subscript_range",
]
subscript_slice = [
    "subscript",
    "vectord",
    "mech-core/subscript_slice",
]
swizzle = [
    "subscript",
    "mech-core/swizzle",
]
symbol_table = ["mech-core/symbol_table"]
table = [
    "vectord",
    "record",
    "kind_annotation",
    "mech-core/table",
]
tuple = ["mech-core/tuple"]
u128 = [
    "unsigned_ints",
    "mech-core/u128",
]
u16 = [
    "unsigned_ints",
    "mech-core/u16",
]
u32 = [
    "unsigned_ints",
    "mech-core/u32",
]
u64 = [
    "unsigned_ints",
    "mech-core/u64",
]
u8 = [
    "unsigned_ints",
    "mech-core/u8",
]
unsigned_ints = [
    "numbers",
    "mech-core/unsigned_ints",
]
variable_assign = [
    "statements",
    "mech-core/variable_assign",
]
variable_define = [
    "statements",
    "functions",
    "mech-core/variable_define",
]
variables = [
    "variable_define",
    "symbol_table",
    "mech-core/variables",
]
vector2 = [
    "matrix",
    "mech-core/vector2",
]
vector3 = [
    "matrix",
    "mech-core/vector3",
]
vector4 = [
    "matrix",
    "mech-core/vector4",
]
vectord = [
    "matrix",
    "mech-core/vectord",
]
xor = ["logic"]

[lib]
name = "mech_logic"
crate-type = ["rlib"]
path = "src/lib.rs"

[dependencies.inventory]
version = "0.3.21"

[dependencies.mech-core]
version = "0.2.72"
default-features = false

[dependencies.nalgebra]
version = "0.34.0"
optional = true

[dependencies.paste]
version = "1.0.15"
