[package] name = "bellframe" version = "0.13.2" edition = "2021" authors = ["Ben White-Horne "] description = "Fast and idiomatic primitives for Change Ringing." license = "MIT" repository = "https://github.com/kneasle/ringing-monorepo" [package.metadata.workspaces] independent = true [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] bytemuck = { version = "1.14.0", features = ["derive"] } dirs = { version = "5.0.1", optional = true } edit-distance = "2.1.0" factorial = "0.4.0" itertools = "0.12.1" memchr = "2.6.3" reqwest = { version = "0.11.18", optional = true, features = ["blocking"] } serde_json = { version = "1.0.114", optional = true } shortlist = "0.2.0" # Dependencies which are only required to generate the CC library minidom = { version = "0.15.2", optional = true } # Reimport `serde` as `serde_crate` so we can use `serde` as a feature name [dependencies.serde_crate] package = "serde" version = "1.0.197" optional = true features = ["derive"] [dev-dependencies] quickcheck = "1.0" quickcheck_macros = "1.0"