52 lines
1.4 KiB
TOML
52 lines
1.4 KiB
TOML
[package]
|
|
name = "orgize"
|
|
version = "0.9.0"
|
|
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"]
|
|
exclude = ["/wasm", "/.github"]
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[badges]
|
|
travis-ci = { repository = "PoiScript/orgize" }
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[profile.release]
|
|
# Tell `rustc` to optimize for small code size.
|
|
opt-level = "s"
|
|
|
|
[features]
|
|
default = ["ser"]
|
|
wasm = ["serde-wasm-bindgen", "wasm-bindgen", "wee_alloc"]
|
|
ser = ["serde", "serde_indextree", "indexmap/serde-1"]
|
|
|
|
[dependencies]
|
|
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 }
|
|
# wasm stuff
|
|
serde-wasm-bindgen = { version = "0.3", optional = true }
|
|
wasm-bindgen = { version = "0.2", optional = true }
|
|
wee_alloc = { version = "0.4", optional = true }
|
|
|
|
[dev-dependencies]
|
|
pretty_assertions = "1.0"
|
|
serde_json = "1.0"
|
|
slugify = "0.1"
|