# 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 = "ftml" version = "1.27.0" authors = ["Emmie Smith "] build = "build.rs" exclude = [ ".gitignore", ".editorconfig", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Foundation Text Markup Language - a library to render Wikidot text as HTML" readme = "README.md" keywords = [ "wikidot", "wikijump", "ftml", "parsing", "html", ] categories = ["parser-implementations"] license = "AGPL-3.0-or-later" repository = "https://github.com/scpwiki/wikijump/tree/develop/ftml" [profile.release] lto = true [lib] name = "ftml" crate-type = [ "cdylib", "lib", ] path = "src/lib.rs" [[example]] name = "validate_json" path = "examples/validate_json.rs" [dependencies.cfg-if] version = "1" [dependencies.entities] version = "1" [dependencies.enum-map] version = "2" [dependencies.latex2mathml] version = "0.2" optional = true [dependencies.log] version = "0.4" [dependencies.maplit] version = "1" [dependencies.once_cell] version = "1.17.1" [dependencies.parcel_css] version = "1.0.0-alpha.32" optional = true [dependencies.parcel_selectors] version = "=0.24.7" [dependencies.pest] version = "2" [dependencies.pest_derive] version = "2" [dependencies.rand] version = "0.8" features = ["small_rng"] [dependencies.ref-map] version = "0.1" [dependencies.regex] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.6" [dependencies.serde_json] version = "1" [dependencies.serde_repr] version = "0.1" [dependencies.str-macro] version = "1" [dependencies.strum] version = "0.26" [dependencies.strum_macros] version = "0.26" [dependencies.time] version = "0.3" features = [ "formatting", "macros", "parsing", "serde", "serde-human-readable", ] default-features = false [dependencies.tinyvec] version = "1" [dependencies.unicase] version = "2" [dependencies.wikidot-normalize] version = "0.12" [dev-dependencies.proptest] version = "1" [dev-dependencies.termcolor] version = "1" [build-dependencies.built] version = "0.7" features = [ "chrono", "git2", ] [features] default = [ "html", "mathml", ] html = ["parcel_css"] mathml = [ "html", "latex2mathml", ] [target.'cfg(target_arch = "wasm32")'.dependencies.getrandom] version = "0.2" features = ["js"] [target.'cfg(target_arch = "wasm32")'.dependencies.self_cell] version = "1.0" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2" features = ["serde-serialize"] [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3" features = ["console"] [lints.rust] missing_debug_implementations = "deny" unsafe_code = "forbid"