[package] name = "cotton-rules" version = "0.1.0" edition.workspace = true license.workspace = true publish.workspace = true description = "Cotton's pure rules: one implementation the phone core re-exports and the Worker runs as WASM." [dependencies] serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } sha2 = { workspace = true } hex = { workspace = true } # Wall clocks in IANA zones: no `clock` feature — a rule never reads the time, # it is handed it. chrono = { version = "0.4", default-features = false, features = ["std", "alloc"] } chrono-tz = "0.10" # A phone number with a country code is written E.164 by the libphonenumber # port: the trunk 0 after the code goes ("+91 098765 43210" is 919876543210). phonenumber = "0.3" regex = "1" unicode-normalization = "0.1" # A book's package document (opf.rs), the same reader the core had. quick-xml = "0.41" # Mail (mail/mime.rs): the decoder the Mac and the Worker share. mail-parser = "0.11" [dev-dependencies] # Tests only: the mail predicate (mail/predicate.rs) is run against SQLite. Never a dependency of the WASM build. rusqlite.workspace = true