[package] name = "codas" description = "Compact and streamable data format that works anywhere--from web apps to robots." readme = "README.md" version.workspace = true edition.workspace = true homepage.workspace = true repository.workspace = true license.workspace = true authors.workspace = true [package.metadata.release] release = true [features] # Enable language-specific code generation langs = ["dep:indoc"] langs-typescript = ["langs"] langs-python = ["langs"] langs-rust = ["langs"] # Enable runtime markdown parsing parse = ["dep:logos"] # Enable integration with `std` traits std = [] [dependencies] snafu.workspace = true # Byte encoding base64 = { version = "0.21.0", default-features = false, features = ["alloc"] } # Text tokenization logos = { version = "0.13.0", optional = true, default-features = false, features = ["export_derive"] } # String indentation tools for python codegen indoc = { version = "2.0.5", optional = true } # Cryptographic hashing blake3 = { version = "1.3.3" } # Cryptographic signing ed25519-dalek = { version = "2.1.1", features = ["rand_core"]} # Random number generation for creating signing keys rand_core = { version = "0.6.4", features = ["getrandom"] } [dev-dependencies] codas = { path = ".", features = ["std", "parse", "langs"] } pretty_assertions.workspace = true # Depend on snafu, with additional features enabled # to generate backtraces: https://github.com/shepmaster/snafu/issues/332#issuecomment-1124456063. snafu = { workspace = true, features = ["backtrace", "backtraces-impl-backtrace-crate"] }