7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 1 | [workspace] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 2 | members = [ |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 3 | "benchmarks", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 4 | "bindings/matrix-sdk-crypto-ffi", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 5 | "bindings/matrix-sdk-ffi", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 6 | "crates/*", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 7 | "examples/*", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 8 | "labs/*", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 9 | "testing/*", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 10 | "uniffi-bindgen", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 11 | "xtask", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 12 | ] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 13 | exclude = ["testing/data"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 14 | # xtask, multiverse, testing and the bindings should only be built when invoked explicitly. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 15 | default-members = ["benchmarks", "crates/*"] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 16 | resolver = "3" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 17 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 18 | [workspace.package] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 19 | rust-version = "1.93" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 20 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 21 | [workspace.dependencies] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 22 | anyhow = { version = "1.0.100", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 23 | aquamarine = { version = "0.6.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 24 | as_variant = { version = "1.3.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 25 | assert-json-diff = { version = "2.0.2", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 26 | assert_matches = { version = "1.5.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 27 | assert_matches2 = { version = "0.1.2", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 28 | async_cell = { version = "0.2.3", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 29 | async-compat = { version = "0.2.5", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 30 | async-once-cell = { version = "0.5.4", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 31 | async-rx = { version = "0.2.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 32 | # Bumping this to 0.3.6 produces a test failure because the semantic between the |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 33 | # versions changed subtly: https://github.com/matrix-org/matrix-rust-sdk/issues/4599 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 34 | async-stream = { version = "0.3.6", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 35 | async-trait = { version = "0.1.89", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 36 | base64 = { version = "0.22.1", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 37 | bitflags = { version = "2.10.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 38 | byteorder = { version = "1.5.0", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 39 | cfg-if = { version = "1.0.4", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 40 | clap = { version = "4.5.53", default-features = false, features = ["std", "help", "usage"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 41 | chrono = { version = "0.4.42", default-features = false, features = ["clock", "std", "oldtime", "wasmbind"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 42 | dirs = { version = "6.0.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 43 | eyeball = { version = "0.8.8", default-features = false, features = ["tracing"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 44 | eyeball-im = { version = "0.8.0", default-features = false, features = ["tracing"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 45 | eyeball-im-util = { version = "0.10.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 46 | futures-core = { version = "0.3.31", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 47 | futures-executor = { version = "0.3.31", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 48 | futures-util = { version = "0.3.31", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 49 | getrandom = { version = "0.4.2", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 50 | gloo-timers = { version = "0.3.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 51 | gloo-utils = { version = "0.2.0", default-features = false, features = ["serde"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 52 | growable-bloom-filter = { version = "2.1.1", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 53 | hkdf = { version = "0.12.4", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 54 | hmac = { version = "0.12.1", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 55 | http = { version = "1.3.1", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 56 | imbl = { version = "6.1.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 57 | indexed_db_futures = { version = "0.7.0", package = "matrix_indexed_db_futures", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 58 | indexmap = { version = "2.12.1", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 59 | insta = { version = "1.44.1", features = ["json", "redactions"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 60 | itertools = { version = "0.14.0", default-features = false, features = ["use_std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 61 | js-sys = { version = "0.3.82", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 62 | mime = { version = "0.3.17", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 63 | oauth2 = { version = "5.0.0", default-features = false, features = ["timing-resistant-secret-traits"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 64 | oauth2-reqwest = { version = "0.1.0-alpha.3", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 65 | pbkdf2 = { version = "0.12.2", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 66 | pin-project-lite = { version = "0.2.16", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 67 | proc-macro2 = { version = "1.0.106", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 68 | proptest = { version = "1.9.0", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 69 | quote = { version = "1.0.37", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 70 | rand = { version = "0.10.1", default-features = false, features = ["std", "std_rng", "thread_rng"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 71 | regex = { version = "1.12.2", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 72 | reqwest = { version = "0.13.1", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 73 | rmp-serde = { version = "1.3.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 74 | ruma = { version = "0.16.0", features = [ |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 75 | "client-api-c", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 76 | "compat-unset-avatar", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 77 | "compat-upload-signatures", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 78 | "compat-arbitrary-length-ids", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 79 | "compat-tag-info", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 80 | "compat-encrypted-stickers", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 81 | "compat-lax-room-create-deser", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 82 | "compat-lax-room-topic-deser", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 83 | "unstable-msc3230", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 84 | "unstable-msc3401", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 85 | "unstable-msc3417", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 86 | "unstable-msc3488", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 87 | "unstable-msc3489", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 88 | "unstable-msc4075", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 89 | "unstable-msc4140", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 90 | "unstable-msc4143", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 91 | "unstable-msc4171", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 92 | "unstable-msc4195", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 93 | "unstable-msc4278", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 94 | "unstable-msc4286", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 95 | "unstable-msc4306", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 96 | "unstable-msc4308", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 97 | "unstable-msc4310", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 98 | ] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 99 | sentry = { version = "0.47.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 100 | sentry-tracing = { version = "0.47.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 101 | serde = { version = "1.0.228", default-features = false, features = ["std", "rc", "derive"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 102 | serde_html_form = { version = "0.4.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 103 | serde_json = { version = "1.0.145", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 104 | sha2 = { version = "0.10.9", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 105 | similar-asserts = { version = "1.7.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 106 | stream_assert = { version = "0.1.1", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 107 | syn = { version = "2.0.43", default-features = false, features = ["derive", "parsing", "printing", "clone-impls"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 108 | tempfile = { version = "3.23.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 109 | thiserror = { version = "2.0.17", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 110 | tokio = { version = "1.48.0", default-features = false, features = ["sync"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 111 | tokio-stream = { version = "0.1.17", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 112 | tracing = { version = "0.1.41", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 113 | tracing-appender = { version = "0.2.3", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 114 | tracing-core = { version = "0.1.34", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 115 | tracing-subscriber = { version = "0.3.20", default-features = false, features = ["std", "smallvec", "fmt"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 116 | unicode-normalization = { version = "0.1.25", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 117 | unicode-segmentation = { version = "1.12.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 118 | uniffi = { version = "0.31.0", default-features = false, features = ["cargo-metadata"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 119 | uniffi_bindgen = { version = "0.31.0", default-features = false, features = ["cargo-metadata"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 120 | url = { version = "2.5.7", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 121 | uuid = { version = "1.18.1", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 122 | vergen-gitcl = { version = "1.0.8", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 123 | vodozemac = { version = "0.10.0", default-features = false, features = ["libolm-compat", "insecure-pk-encryption", "experimental-session-config"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 124 | wasm-bindgen = { version = "0.2.105", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 125 | wasm-bindgen-test = { version = "0.3.55", default-features = false, features = ["std"] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 126 | web-sys = { version = "0.3.82", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 127 | wiremock = { version = "0.6.5", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 128 | zeroize = { version = "1.8.2", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 129 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 130 | matrix-sdk = { path = "crates/matrix-sdk", version = "0.18.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 131 | matrix-sdk-base = { path = "crates/matrix-sdk-base", version = "0.18.0" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 132 | matrix-sdk-common = { path = "crates/matrix-sdk-common", version = "0.18.0" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 133 | matrix-sdk-crypto = { path = "crates/matrix-sdk-crypto", version = "0.18.0" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 134 | matrix-sdk-ffi-macros = { path = "bindings/matrix-sdk-ffi-macros", version = "0.7.0" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 135 | matrix-sdk-indexeddb = { path = "crates/matrix-sdk-indexeddb", version = "0.18.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 136 | matrix-sdk-qrcode = { path = "crates/matrix-sdk-qrcode", version = "0.18.0" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 137 | matrix-sdk-sqlite = { path = "crates/matrix-sdk-sqlite", version = "0.18.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 138 | matrix-sdk-store-encryption = { path = "crates/matrix-sdk-store-encryption", version = "0.18.0" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 139 | matrix-sdk-test = { path = "testing/matrix-sdk-test", version = "0.18.0" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 140 | matrix-sdk-test-utils = { path = "testing/matrix-sdk-test-utils", version = "0.18.0" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 141 | matrix-sdk-ui = { path = "crates/matrix-sdk-ui", version = "0.18.0", default-features = false } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 142 | matrix-sdk-search = { path = "crates/matrix-sdk-search", version = "0.18.0" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 143 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 144 | [workspace.lints.rust] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 145 | rust_2018_idioms = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 146 | semicolon_in_expressions_from_macros = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 147 | unexpected_cfgs = { level = "warn", check-cfg = [ |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 148 | 'cfg(tarpaulin_include)', # Used by tarpaulin (code coverage) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 149 | 'cfg(ruma_unstable_exhaustive_types)', # Used by Ruma's EventContent derive macro |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 150 | ] } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 151 | unused_extern_crates = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 152 | unused_import_braces = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 153 | unused_qualifications = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 154 | trivial_casts = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 155 | trivial_numeric_casts = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 156 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 157 | [workspace.lints.clippy] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 158 | assigning_clones = "allow" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 159 | box_default = "allow" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 160 | cloned_instead_of_copied = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 161 | dbg_macro = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 162 | inefficient_to_string = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 163 | macro_use_imports = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 164 | manual_let_else = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 165 | mut_mut = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 166 | needless_borrow = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 167 | nonstandard_macro_braces = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 168 | redundant_clone = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 169 | str_to_string = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 170 | todo = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 171 | unnecessary_semicolon = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 172 | unused_async = "warn" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 173 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 174 | # Default development profile; default for most Cargo commands, otherwise |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 175 | # selected with `--debug` |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 176 | [profile.dev] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 177 | # Saves a lot of disk space. If symbols are needed, use the dbg profile. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 178 | debug = 0 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 179 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 180 | # Profile for debug builds with full optimization and minimal debug symbols. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 181 | # This should be just enough to have proper backtraces, having way smaller binaries |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 182 | # (10% of the size with full debug symbols profile, like `reldbg`). |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 183 | # This profile differs from `reldbg` in not containing the debug symbols needed for |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 184 | # debugging with LLDB/GDB, trading that for binary size, allowing quick iterations |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 185 | # of building the bindings, installing in a real device, testing your changes, repeat. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 186 | # It's also different from `dev` in having enough debug symbols to display backtraces. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 187 | [profile.reldev] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 188 | inherits = "dev" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 189 | opt-level = 3 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 190 | debug = "line-tables-only" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 191 | strip = "debuginfo" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 192 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 193 | [profile.dev.package] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 194 | # Optimize quote even in debug mode. Speeds up proc-macros enough to account |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 195 | # for the extra time of optimizing it for a clean build of matrix-sdk-ffi. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 196 | quote = { opt-level = 2 } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 197 | sha2 = { opt-level = 2 } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 198 | # faster runs for insta.rs snapshot testing |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 199 | insta.opt-level = 3 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 200 | similar.opt-level = 3 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 201 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 202 | # Custom profile with full debugging info, use `--profile dbg` to select |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 203 | [profile.dbg] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 204 | inherits = "dev" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 205 | debug = 2 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 206 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 207 | # Custom profile for use in (debug) builds of the binding crates, use |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 208 | # `--profile reldbg` to select |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 209 | [profile.reldbg] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 210 | inherits = "dbg" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 211 | opt-level = 3 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 212 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 213 | [profile.dist] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 214 | # Use release profile as a base |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 215 | inherits = "release" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 216 | # Strip the minimal debug info, while still allowing us to have proper backtraces, but it will affect debuggers |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 217 | strip = "debuginfo" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 218 | # Use link time optimizations |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 219 | lto = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 220 | # Use binary size optimization, since this is intended for distributed copies of the SDK |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 221 | opt-level = "s" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 222 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 223 | [profile.profiling] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 224 | inherits = "release" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 225 | # LTO is too slow to compile. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 226 | lto = false |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 227 | # Get symbol names for profiling purposes. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 228 | debug = true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 229 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 230 | [profile.bench] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 231 | inherits = "release" |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 232 | lto = false |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 233 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 234 | [patch.crates-io] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 235 | async-compat = { git = "https://github.com/element-hq/async-compat", rev = "5a27c8b290f1f1dcfc0c4ec22c464e38528aa591" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 236 | const_panic = { git = "https://github.com/jplatte/const_panic", rev = "e0b317a9a7bde2d48a7d15b6a60d70e4a41d3b5f" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 237 | # Needed to fix rotation log issue on Android (https://github.com/tokio-rs/tracing/issues/2937) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 238 | tracing = { git = "https://github.com/tokio-rs/tracing.git", rev = "20f5b3d8ba057ca9c4ae00ad30dda3dce8a71c05" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 239 | tracing-core = { git = "https://github.com/tokio-rs/tracing.git", rev = "20f5b3d8ba057ca9c4ae00ad30dda3dce8a71c05" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 240 | tracing-subscriber = { git = "https://github.com/tokio-rs/tracing.git", rev = "20f5b3d8ba057ca9c4ae00ad30dda3dce8a71c05" } |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 241 | tracing-appender = { git = "https://github.com/tokio-rs/tracing.git", rev = "20f5b3d8ba057ca9c4ae00ad30dda3dce8a71c05" } |