[package] name = "rsp6-decoder" description = "Decode UK National Rail mobile tickets in RSP6 format." version = "0.1.0" edition = "2021" license = "MIT" authors = ["eta "] repository = "https://git.eta.st/eta/rsp6-decoder" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] crate-type = ["cdylib", "rlib"] [features] wasm = ["wasm-bindgen", "lazy_static", "serde-wasm-bindgen", "wee_alloc", "console_error_panic_hook"] [dependencies] serde = { version = "1.0", features = ["derive"] } anyhow = "1.0" serde_json = "1.0" num-bigint = "0.4" bitvec = "1.0" hex = { version = "0.4", features = ["serde"] } time = { version = "0.3", features = ["macros", "serde", "serde-human-readable"] } wasm-bindgen = { version = "0.2", optional = true } lazy_static = { version = "1.4", optional = true } serde-wasm-bindgen = { version = "0.4", optional = true } wee_alloc = { version = "0.4", optional = true } console_error_panic_hook = { version = "0.1", optional = true }