Release ruma-serde 0.3.0

This commit is contained in:
Jonas Platte 2021-01-02 12:46:54 +01:00
parent 210b6dd823
commit 2ebd827355
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
16 changed files with 39 additions and 23 deletions

View File

@ -20,7 +20,7 @@ http = "0.2.2"
percent-encoding = "2.1.0" percent-encoding = "2.1.0"
ruma-api-macros = { version = "=0.17.0-alpha.1", path = "../ruma-api-macros" } ruma-api-macros = { version = "=0.17.0-alpha.1", path = "../ruma-api-macros" }
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.60" serde_json = "1.0.60"
thiserror = "1.0.22" thiserror = "1.0.22"

View File

@ -16,7 +16,7 @@ ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" }
ruma-common = { version = "0.2.0", path = "../ruma-common" } ruma-common = { version = "0.2.0", path = "../ruma-common" }
ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events" } ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events" }
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.57" serde_json = "1.0.57"

View File

@ -26,7 +26,7 @@ ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" }
ruma-common = { version = "0.2.0", path = "../ruma-common" } ruma-common = { version = "0.2.0", path = "../ruma-common" }
ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events" } ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events" }
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.60" serde_json = "1.0.60"

View File

@ -28,7 +28,7 @@ ruma-client-api = { version = "0.10.0-alpha.1", path = "../ruma-client-api" }
ruma-common = { version = "0.2.0", path = "../ruma-common" } ruma-common = { version = "0.2.0", path = "../ruma-common" }
ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events" } ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events" }
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.61" serde_json = "1.0.61"
@ -43,8 +43,16 @@ default = ["http1", "http2", "tls-native"]
http1 = ["hyper/http1"] http1 = ["hyper/http1"]
http2 = ["hyper/http2"] http2 = ["hyper/http2"]
tls-native = ["hyper-tls", "_tls"] tls-native = ["hyper-tls", "_tls"]
tls-rustls-native-roots = ["hyper-rustls", "hyper-rustls/native-tokio", "_tls-rustls"] tls-rustls-native-roots = [
tls-rustls-webpki-roots = ["hyper-rustls", "hyper-rustls/webpki-tokio", "_tls-rustls"] "hyper-rustls",
"hyper-rustls/native-tokio",
"_tls-rustls",
]
tls-rustls-webpki-roots = [
"hyper-rustls",
"hyper-rustls/webpki-tokio",
"_tls-rustls",
]
unstable-synapse-quirks = ["ruma-events/unstable-synapse-quirks"] unstable-synapse-quirks = ["ruma-events/unstable-synapse-quirks"]

View File

@ -14,7 +14,7 @@ edition = "2018"
js_int = { version = "0.2.0", features = ["serde"] } js_int = { version = "0.2.0", features = ["serde"] }
maplit = "1.0.2" maplit = "1.0.2"
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = { version = "1.0.60", features = ["raw_value"] } serde_json = { version = "1.0.60", features = ["raw_value"] }

View File

@ -18,7 +18,7 @@ js_int = { version = "0.2.0", features = ["serde"] }
ruma-common = { version = "0.2.0", path = "../ruma-common" } ruma-common = { version = "0.2.0", path = "../ruma-common" }
ruma-events-macros = { version = "=0.22.0-alpha.1", path = "../ruma-events-macros" } ruma-events-macros = { version = "=0.22.0-alpha.1", path = "../ruma-events-macros" }
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = { version = "1.0.60", features = ["raw_value"] } serde_json = { version = "1.0.60", features = ["raw_value"] }

View File

@ -21,7 +21,7 @@ ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" }
ruma-common = { version = "0.2.0", path = "../ruma-common" } ruma-common = { version = "0.2.0", path = "../ruma-common" }
ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events" } ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events" }
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.60" serde_json = "1.0.60"

View File

@ -19,5 +19,5 @@ default = ["serde"]
serde = { version = "1.0.118", optional = true, features = ["derive"] } serde = { version = "1.0.118", optional = true, features = ["derive"] }
[dev-dependencies] [dev-dependencies]
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde_json = "1.0.60" serde_json = "1.0.60"

View File

@ -29,8 +29,8 @@ paste = "1.0.4"
rand = { version = "0.8.0", optional = true } rand = { version = "0.8.0", optional = true }
ruma-identifiers-macros = { version = "=0.17.4", path = "../ruma-identifiers-macros" } ruma-identifiers-macros = { version = "=0.17.4", path = "../ruma-identifiers-macros" }
ruma-identifiers-validation = { version = "0.1.1", path = "../ruma-identifiers-validation", default-features = false } ruma-identifiers-validation = { version = "0.1.1", path = "../ruma-identifiers-validation", default-features = false }
ruma-serde = { version = "0.2.3", path = "../ruma-serde", optional = true } ruma-serde = { version = "0.3.0", path = "../ruma-serde", optional = true }
ruma-serde-macros = { version = "0.2.3", path = "../ruma-serde-macros" } ruma-serde-macros = { version = "0.3.0", path = "../ruma-serde-macros" }
# Renamed so we can have a serde feature. # Renamed so we can have a serde feature.
serde1 = { package = "serde", version = "1.0.118", optional = true, features = ["derive"] } serde1 = { package = "serde", version = "1.0.118", optional = true, features = ["derive"] }

View File

@ -14,6 +14,6 @@ edition = "2018"
ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" } ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" }
ruma-common = { version = "0.2.0", path = "../ruma-common" } ruma-common = { version = "0.2.0", path = "../ruma-common" }
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde = { version = "1.0.114", features = ["derive"] } serde = { version = "1.0.114", features = ["derive"] }
serde_json = "1.0.57" serde_json = "1.0.57"

View File

@ -16,7 +16,7 @@ ruma-api = { version = "=0.17.0-alpha.1", path = "../ruma-api" }
ruma-common = { version = "0.2.0", path = "../ruma-common" } ruma-common = { version = "0.2.0", path = "../ruma-common" }
ruma-events = { version = "0.22.0-alpha.1", path = "../ruma-events" } ruma-events = { version = "0.22.0-alpha.1", path = "../ruma-events" }
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde = { version = "1.0.118", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = "1.0.60" serde_json = "1.0.60"

View File

@ -1,14 +1,13 @@
[package] [package]
authors = ["Jonas Platte <jplatte@posteo.de>",] authors = ["Jonas Platte <jplatte@posteo.de>"]
categories = ["api-bindings", "web-programming"] categories = ["api-bindings", "web-programming"]
description = "Procedural macros for ruma-serde." description = "Procedural macros for ruma-serde."
homepage = "https://www.ruma.io/" homepage = "https://www.ruma.io/"
keywords = ["matrix", "chat", "messaging", "ruma"] keywords = ["matrix", "chat", "messaging", "ruma"]
license = "MIT" license = "MIT"
name = "ruma-serde-macros" name = "ruma-serde-macros"
readme = "README.md"
repository = "https://github.com/ruma/ruma" repository = "https://github.com/ruma/ruma"
version = "0.2.3" version = "0.3.0"
edition = "2018" edition = "2018"
[lib] [lib]

5
ruma-serde/CHANGELOG.md Normal file
View File

@ -0,0 +1,5 @@
# 0.3.0
Breaking changes:
* Upgrade `js_int` to 0.2.0

View File

@ -10,16 +10,16 @@ authors = [
] ]
homepage = "https://www.ruma.io/" homepage = "https://www.ruma.io/"
repository = "https://github.com/ruma/ruma" repository = "https://github.com/ruma/ruma"
version = "0.2.3" version = "0.3.0"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
form_urlencoded = "1.0.0" form_urlencoded = "1.0.0"
js_int = { version = "0.2.0", features = ["serde"] } js_int = { version = "0.2.0", features = ["serde"] }
itoa = "0.4.6" itoa = "0.4.6"
ruma-serde-macros = { version = "=0.2.3", path = "../ruma-serde-macros" } ruma-serde-macros = { version = "=0.3.0", path = "../ruma-serde-macros" }
serde = { version = "1.0.118", features = ["derive"] } serde = { version = "1.0.118", features = ["derive"] }
serde_json = { version = "1.0.60", features = ["raw_value"] } serde_json = { version = "1.0.61", features = ["raw_value"] }
[dev-dependencies] [dev-dependencies]
matches = "0.1.8" matches = "0.1.8"

View File

@ -16,6 +16,6 @@ version = "0.6.0-dev.1"
base64 = "0.13.0" base64 = "0.13.0"
ring = "0.16.19" ring = "0.16.19"
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers" }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
serde_json = "1.0.60" serde_json = "1.0.60"
untrusted = "0.7.1" untrusted = "0.7.1"

View File

@ -18,7 +18,7 @@ js_int = "0.2.0"
ruma-common = { version = "0.2.0", path = "../ruma-common" } ruma-common = { version = "0.2.0", path = "../ruma-common" }
ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers", features = ["serde"] } ruma-identifiers = { version = "0.17.4", path = "../ruma-identifiers", features = ["serde"] }
ruma-serde = { version = "0.2.3", path = "../ruma-serde" } ruma-serde = { version = "0.3.0", path = "../ruma-serde" }
ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events", optional = true } ruma-events = { version = "=0.22.0-alpha.1", path = "../ruma-events", optional = true }
ruma-signatures = { version = "0.6.0-dev.1", path = "../ruma-signatures", optional = true } ruma-signatures = { version = "0.6.0-dev.1", path = "../ruma-signatures", optional = true }
@ -53,7 +53,11 @@ unstable-exhaustive-types = [
"ruma-federation-api/unstable-exhaustive-types", "ruma-federation-api/unstable-exhaustive-types",
"ruma-common/unstable-exhaustive-types", "ruma-common/unstable-exhaustive-types",
] ]
unstable-pre-spec = ["ruma-client-api/unstable-pre-spec", "ruma-events/unstable-pre-spec", "ruma-federation-api/unstable-pre-spec"] unstable-pre-spec = [
"ruma-client-api/unstable-pre-spec",
"ruma-events/unstable-pre-spec",
"ruma-federation-api/unstable-pre-spec",
]
unstable-synapse-quirks = [ unstable-synapse-quirks = [
"ruma-client-api/unstable-synapse-quirks", "ruma-client-api/unstable-synapse-quirks",
"ruma-common/unstable-synapse-quirks", "ruma-common/unstable-synapse-quirks",