taler-rust

GNU Taler code in Rust. Largely core banking integrations.
Log | Files | Refs | Submodules | README | LICENSE

Cargo.toml (2483B)


      1 [workspace]
      2 resolver = "3"
      3 members = ["common/*", "adapters/*", "taler-apns-relay"]
      4 
      5 [workspace.package]
      6 version = "1.5.0"
      7 edition = "2024"
      8 # Newest standard-library item the tree uses is std::fmt::from_fn (1.93); let
      9 # chains (1.88) and Vec::pop_if (1.86) sit below it, edition 2024 needs 1.85.
     10 # Declared so that cargo rejects an old toolchain with one clear message instead
     11 # of hundreds of errors.  Keep in step with RUST_MIN_VERSION in
     12 # build-system/configure.py.
     13 rust-version = "1.93"
     14 authors = ["Taler Systems SA <deb@taler.net>"]
     15 homepage = "https://taler.net/"
     16 repository = "https://git.taler.net/taler-rust.git"
     17 license-file = "COPYING"
     18 
     19 [profile.dev]
     20 debug = true
     21 
     22 [profile.release]
     23 lto = "fat"
     24 codegen-units = 1
     25 
     26 [workspace.dependencies]
     27 thiserror = "2.0"
     28 serde_json = "1.0"
     29 serde = { version = "1.0", features = ["derive"] }
     30 serde_path_to_error = "0.1"
     31 serde_urlencoded = "0.7"
     32 serde_with = { version = "3.11.0", default-features = false, features = ["macros"] }
     33 tokio = { version = "1.42", features = ["macros"] }
     34 axum = { version = "0.8", features = ["macros"] }
     35 sqlx = { version = "0.8", default-features = false, features = [
     36   "postgres",
     37   "runtime-tokio",
     38   "tls-rustls-aws-lc-rs",
     39 ] }
     40 url = { version = "2.2", features = ["serde"] }
     41 criterion = { version = "0.8", default-features = false }
     42 tracing = "0.1"
     43 tracing-subscriber = "0.3"
     44 clap = { version = "4.5", features = ["derive"] }
     45 jiff = { version = "0.2", default-features = false, features = ["perf-inline", "std", "serde"] }
     46 tempfile = "3.15"
     47 taler-common = { path = "common/taler-common" }
     48 taler-api = { path = "common/taler-api" }
     49 taler-test-utils = { path = "common/taler-test-utils" }
     50 taler-build = { path = "common/taler-build" }
     51 # Note: keep the literal in step with `workspace.package.version`.
     52 taler-macros = { path = "common/taler-macros", version = "1.5.0" }
     53 failure-injection = { path = "common/failure-injection" }
     54 http-client = { path = "common/http-client" }
     55 hyper = { version = "1.8.1", features = ["client", "http1", "http2"] }
     56 anyhow = "1"
     57 http-body-util = "0.1.2"
     58 owo-colors = "4.2.3"
     59 aws-lc-rs = "1.15"
     60 compact_str = { version = "0.9.0", features = ["serde", "sqlx-postgres"] }
     61 hyper-util = { version = "0.1", features = ["client-legacy", "http1", "http2"] }
     62 hyper-rustls = { version = "0.27", features = ["aws-lc-rs", "http1", "http2", "rustls-platform-verifier", "tls12"], default-features = false }
     63 rand = { version = "0.10" }
     64 regex = { version = "1" }
     65 rustls = "0.23"
     66 http = "1.4"
     67