rsp6-decoder/Cargo.toml
eta 064b18c52a update public key database & rust dependencies
- reapply realloc->undefined hack, otherwise decoding mysteriously fails
  with 'ticket too short'
2024-11-29 20:54:22 +00:00

31 lines
1.0 KiB
TOML

[package]
name = "rsp6-decoder"
description = "Decode UK National Rail mobile tickets in RSP6 format."
version = "0.1.0"
edition = "2021"
license = "MIT"
authors = ["eta <cargo@eta.st>"]
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.6", optional = true }
wee_alloc = { version = "0.4", optional = true }
console_error_panic_hook = { version = "0.1", optional = true }