orgize/Cargo.toml

51 lines
1.4 KiB
TOML
Raw Normal View History

2019-10-10 03:44:59 +01:00
[package]
name = "orgize"
2020-05-09 18:56:04 +01:00
version = "0.8.4"
2019-10-10 03:44:59 +01:00
authors = ["PoiScript <poiscript@gmail.com>"]
description = "A Rust library for parsing orgmode files."
repository = "https://github.com/PoiScript/orgize"
readme = "README.md"
edition = "2018"
license = "MIT"
keywords = ["orgmode", "emacs", "parser"]
[package.metadata.docs.rs]
all-features = true
[badges]
travis-ci = { repository = "PoiScript/orgize" }
2021-11-08 06:58:58 +00:00
[lib]
crate-type = ["cdylib", "rlib"]
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
2019-10-10 03:44:59 +01:00
[features]
default = ["ser"]
2021-11-08 06:58:58 +00:00
wasm = ["serde-wasm-bindgen", "wasm-bindgen", "wee_alloc"]
ser = ["serde", "serde_indextree", "indexmap/serde-1"]
2019-10-10 03:44:59 +01:00
[dependencies]
2021-11-08 06:17:47 +00:00
bytecount = "0.6"
chrono = { version = "0.4", optional = true }
indextree = "4.3"
jetscii = "0.5"
lazy_static = "1.4"
memchr = "2.4"
nom = { version = "7.0", default-features = false, features = ["std"] }
serde = { version = "1.0", optional = true, features = ["derive"] }
serde_indextree = { version = "0.2", optional = true }
syntect = { version = "4.6", optional = true }
indexmap = { version = "1.7", features = ["serde-1"], optional = true }
2021-11-08 06:58:58 +00:00
# wasm stuff
serde-wasm-bindgen = { version = "0.3", optional = true }
wasm-bindgen = { version = "0.2", optional = true }
wee_alloc = { version = "0.4", optional = true }
2019-10-10 03:44:59 +01:00
[dev-dependencies]
2021-11-08 06:17:47 +00:00
pretty_assertions = "1.0"
serde_json = "1.0"
slugify = "0.1"