Kévin Commaille
963400979b
docs: Harmonize ruma modules descriptions
2021-04-07 12:14:49 +02:00
Jonas Platte
bd61e97b96
identifiers: Fix hidden _macros module being visible in rustdoc
2021-04-06 19:30:07 +02:00
Jonas Platte
1bf4157a89
Add favicon and logo URLs for rustdoc
2021-04-05 11:42:07 +02:00
Julian Sparber
00fea9d468
add type for mxc://
2021-03-25 13:04:23 +01:00
Jonas Platte
19ae6ff347
Remove lots of Copy implementations
...
so we don't have do breaking releases once they can't be Copy anymore.
2020-12-24 02:51:08 +01:00
Jonas Platte
f55e2b2cc6
Bump dependency requirements
2020-12-24 02:48:01 +01:00
Jonas Platte
1ceade7b61
identifiers: Add more crypto-related types
...
Co-authored-by: Isaiah Inuwa <isaiah.inuwa@gmail.com>
2020-12-02 13:11:28 +01:00
Jonas Platte
63678df887
identifiers: Stop rejecting unknown crypto algorithms
2020-12-02 13:11:28 +01:00
Jonas Platte
374603f51c
Rename SigningKeyId to ServerSigningKeyId
2020-11-08 19:24:48 +01:00
Isaiah Inuwa
b793a790db
Rename ServerKeyId to SigningKeyId
2020-11-08 13:21:55 +01:00
Jonas Platte
f2a78babbd
Avoid creating owned strings in deserialization where not necessary
2020-10-26 01:52:51 +01:00
Jonas Platte
64b9c646d1
identifiers: Revert serde rename from Cargo.toml
2020-10-24 19:27:50 +02:00
Jonas Platte
19af16850c
Fix ruma_identifiers::device_id!
2020-09-03 20:23:16 +02:00
Jonas Platte
a842c5ccdc
identifiers: Add DeviceIdBox and ServerNameBox
2020-08-13 20:42:03 +02:00
Amanda Graven
fdc15123b0
Reorganize encyption related code
...
Some types used for encryption related tasks need to be used across more
internal crates than expected, so a few have been moved and renamed for
clarity.
* Rename the key_algorithms module in ruma-identifiers-validation to crypto_algorithms
* Move ruma_events::Algorithm to ruma-identifiers-validation and rename it EventEncryptionAlgorithm
* Move DeviceKeys from ruma-client-api to ruma-common
2020-08-10 18:38:53 +02:00
Jonas Platte
0f3478bf90
Rename serde dependency in ruma-identifiers
...
to be able to make the serde feature activate
ruma-identifiers-validation's serde feature
2020-08-08 18:16:31 +02:00
Jonas Platte
2023616319
Make all identifier macros usable from ruma-identifiers, even indirectly
2020-08-05 00:12:39 +02:00
Jonas Platte
0d0480e523
Replace ruma_identifiers_macros::device_id with ruma_identifiers::device_id
...
The proc_macro is replaced by a macro_rules macro because it doesn't
actually need and proc_macro features.
2020-08-04 23:41:35 +02:00
Jonas Platte
1881e45eee
Move ruma-identifiers validation logic into a new crate
2020-08-04 23:23:39 +02:00
Jonas Platte
8faeef4fef
identifiers: Remove outdated allow attribute
2020-07-24 21:15:24 +02:00
Jonas Platte
617a40e3e9
identifiers: Change deny attribute to warn
2020-07-24 21:15:04 +02:00
Jonas Platte
a3e5d679a1
Revert making identifier types generic over the underlying string type
...
At the same time, this commit makes `ServerName` a newtype around str so
other identifier types can borrow out their server name part as a
`&ServerName`. This technique works for `ServerName` because it keeps no
additional metadata. For the other identifier types to support being
created in borrowed form from a string slice, custom DSTs first have to
be added to Rust.
2020-07-14 23:02:51 +02:00
Jonas Platte
46c4f12404
identifiers: Move is_valid_server_name logic to server_name::try_from
2020-06-21 18:47:59 +02:00
Jonas Platte
046668466c
identifiers: Add more conversion functions
2020-06-18 12:11:52 +02:00
iinuwa
f8492db766
Add ServerName identifier
2020-06-18 11:21:00 +02:00
stoically
d59a616e2c
federation-api: Add query server key discovery endpoints
2020-06-08 21:18:58 +02:00
Isaiah Inuwa
baa8710456
Re-export key identifiers at crate root
2020-06-07 13:52:27 -05:00
Jonas Platte
b1193a2883
identifiers: Add DeviceId, DeviceIdRef to the crate root
2020-06-07 17:22:44 +02:00
Jonas Platte
abf8eafe0e
Rerun cargo fmt
2020-06-07 17:22:20 +02:00
Jonas Platte
83de77f002
Add 'ruma-identifiers/' from commit 'c0a1d8bd440c7cde0fa4ab5e22898ddb26bb706d'
...
git-subtree-dir: ruma-identifiers
git-subtree-mainline: 19ce9645b6651e4de42ddf9e81ee50e19c8c0f26
git-subtree-split: c0a1d8bd440c7cde0fa4ab5e22898ddb26bb706d
2020-06-07 17:06:45 +02:00