This repository was archived by the owner on Dec 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (37 loc) · 1.3 KB
/
Cargo.toml
File metadata and controls
41 lines (37 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "bellframe"
version = "0.4.0"
authors = ["Ben White-Horne <kneasle@gmail.com>"]
edition = "2018"
description = "Fast and idiomatic primitives for Change Ringing."
license = "MIT"
repository = "https://github.com/kneasle/bellframe"
[features]
default = ["cc_lib"]
# Enables code to parse the CCCBR's XML format into a `MethodLib`
cc_lib_gen = ["method_lib_serde", "minidom"]
# Enables easy access to the CCCBR method library
cc_lib = ["method_lib_serde", "dirs", "reqwest"]
# Enables (de)?serialize for `MethodLib`s into condensed JSON
method_lib_serde = ["serde_crate", "serde_json"]
# Enables serde implementations for commonly used data-types (Bell, Stage, Row, etc.)
serde = ["serde_crate"]
[dependencies]
dirs = { version = "3.0", optional = true }
edit-distance = "2.1"
factorial = "0.2"
itertools = "0.10.0"
reqwest = { version = "0.11", optional = true, features = ["blocking"] }
serde_json = { version = "1.0", optional = true }
shortlist = "0.2"
# Dependencies which are only required to generate the CC library
minidom = { version = "0.13", optional = true }
# Reimport `serde` as `serde_crate` so we can use `serde` as a feature name
[dependencies.serde_crate]
package = "serde"
version = "1.0"
optional = true
features = ["derive"]
[dev-dependencies]
quickcheck = "1.0"
quickcheck_macros = "1.0"