# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "mostro-core" version = "0.6.11" authors = ["Francisco Calderón "] description = "Mostro Core library" readme = "README.md" license = "MIT" [lib] crate-type = [ "cdylib", "lib", ] [dependencies.anyhow] version = "1.0.66" [dependencies.chrono] version = "0.4.38" [dependencies.nostr-sdk] version = "0.36.0" [dependencies.serde] version = "1.0.149" features = ["derive"] [dependencies.serde_json] version = "1.0.89" [dependencies.sqlx] version = "0.6.2" features = [ "runtime-tokio-rustls", "sqlite", "macros", "chrono", "uuid", ] optional = true [dependencies.sqlx-crud] version = "0.4.0" features = ["runtime-tokio-rustls"] optional = true [dependencies.uuid] version = "1.8.0" features = [ "v4", "fast-rng", "macro-diagnostics", "serde", "js", ] [dependencies.wasm-bindgen] version = "0.2.92" optional = true [features] default = ["wasm"] sqlx = [ "dep:wasm-bindgen", "dep:sqlx", "dep:sqlx-crud", ] wasm = ["dep:wasm-bindgen"]