27 lines
826 B
TOML
27 lines
826 B
TOML
[package]
|
|
name = "prolog_parser"
|
|
version = "0.8.68"
|
|
authors = ["Mark Thom <markjordanthom@gmail.com>"]
|
|
edition = "2021"
|
|
repository = "https://github.com/mthom/scryer-prolog"
|
|
description = " An operator precedence parser for the Rebis development version of Scryer Prolog, an up and coming ISO Prolog implementation."
|
|
license = "BSD-3-Clause"
|
|
|
|
[dependencies]
|
|
indexmap = "1.0.2"
|
|
lexical = "5.2.1"
|
|
ordered-float = "0.5.0"
|
|
rug = { optional = true, version = "1.4.0" }
|
|
num-rug-adapter = { optional = true, path = "../num-rug-adapter" }
|
|
unicode_reader = "1.0.0"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[features]
|
|
num = ["num-rug-adapter"]
|
|
# no default features to make num tests work
|
|
# workaround for --no-default-features and --features not working intuitively for workspaces with a root package
|
|
# see rust-lang/cargo#7160
|
|
# default = ["rug"]
|