mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-12-04 06:11:47 +00:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5510aaddf | ||
|
|
2f356eaa91 | ||
|
|
e6afb63648 | ||
|
|
ac7f79bd26 | ||
|
|
5f2b73db9d | ||
|
|
1a616146d0 |
No files matched your search
@@ -17,7 +17,7 @@ go to "files changed", and click on the "+" symbol in the line number gutter,
|
|||||||
and attach comments to the lines that you think would benefit from some clarification.
|
and attach comments to the lines that you think would benefit from some clarification.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
This pull request...
|
This pull request... <!-- do not forget to write here! -->
|
||||||
|
|
||||||
<!-- Example:
|
<!-- Example:
|
||||||
This pull request allows us to warp through time and space ten times faster than before by
|
This pull request allows us to warp through time and space ten times faster than before by
|
||||||
@@ -26,8 +26,8 @@ efficient. This resolves the common issue where we have to wait more than 10 mil
|
|||||||
engage, use, and disengage the warp drive when travelling between galaxies.
|
engage, use, and disengage the warp drive when travelling between galaxies.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- Closes: #... -->
|
<!-- Closes #... -->
|
||||||
<!-- Fixes: #... -->
|
<!-- Fixes #... -->
|
||||||
<!-- Uncomment the above line(s) if your pull request fixes an issue or closes another pull request
|
<!-- Uncomment the above line(s) if your pull request fixes an issue or closes another pull request
|
||||||
by superseding it. Replace `#...` with the issue/pr number, such as `#123`. -->
|
by superseding it. Replace `#...` with the issue/pr number, such as `#123`. -->
|
||||||
|
|
||||||
@@ -73,6 +73,7 @@ Notes on these requirements:
|
|||||||
main, it's difficult to get out cleanly, so put on your best dress, smile for the cameras!
|
main, it's difficult to get out cleanly, so put on your best dress, smile for the cameras!
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<!-- Do not delete below this line -->
|
||||||
[c1]: https://forgejo.ellis.link/continuwuation/continuwuity/src/branch/main/CONTRIBUTING.md
|
[c1]: https://forgejo.ellis.link/continuwuation/continuwuity/src/branch/main/CONTRIBUTING.md
|
||||||
[c2]: https://forgejo.ellis.link/continuwuation/continuwuity/src/branch/main/docs/development/code_style.mdx
|
[c2]: https://forgejo.ellis.link/continuwuation/continuwuity/src/branch/main/docs/development/code_style.mdx
|
||||||
[c1pc]: https://forgejo.ellis.link/continuwuation/continuwuity/src/branch/main/CONTRIBUTING.md#pre-commit-checks
|
[c1pc]: https://forgejo.ellis.link/continuwuation/continuwuity/src/branch/main/CONTRIBUTING.md#pre-commit-checks
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ repos:
|
|||||||
- pre-push
|
- pre-push
|
||||||
|
|
||||||
- repo: https://code.forgejo.org/forgejo/runner
|
- repo: https://code.forgejo.org/forgejo/runner
|
||||||
rev: v13.2.1
|
rev: v13.3.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: forgejo-runner-validate
|
- id: forgejo-runner-validate
|
||||||
stages:
|
stages:
|
||||||
|
|||||||
Generated
+14
-14
@@ -1026,7 +1026,7 @@ dependencies = [
|
|||||||
"serde-saphyr",
|
"serde-saphyr",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"serde_regex",
|
"serde_regex",
|
||||||
"sha2 0.11.2",
|
"sha2 0.11.3",
|
||||||
"smallstr",
|
"smallstr",
|
||||||
"smallvec",
|
"smallvec",
|
||||||
"thiserror 2.0.21",
|
"thiserror 2.0.21",
|
||||||
@@ -1152,7 +1152,7 @@ dependencies = [
|
|||||||
"serde-saphyr",
|
"serde-saphyr",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"serde_urlencoded",
|
"serde_urlencoded",
|
||||||
"sha2 0.11.2",
|
"sha2 0.11.3",
|
||||||
"termimad",
|
"termimad",
|
||||||
"tokio",
|
"tokio",
|
||||||
"tracing",
|
"tracing",
|
||||||
@@ -1866,7 +1866,7 @@ dependencies = [
|
|||||||
"curve25519-dalek",
|
"curve25519-dalek",
|
||||||
"ed25519",
|
"ed25519",
|
||||||
"serde",
|
"serde",
|
||||||
"sha2 0.11.2",
|
"sha2 0.11.3",
|
||||||
"signature 3.0.0",
|
"signature 3.0.0",
|
||||||
"subtle",
|
"subtle",
|
||||||
"zeroize",
|
"zeroize",
|
||||||
@@ -3245,9 +3245,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "lettre"
|
name = "lettre"
|
||||||
version = "0.11.24"
|
version = "0.11.25"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "f294f3d7cdb313e578acef7d7727d4e8d897e0fcd0d6d58c19959cec95073f19"
|
checksum = "15000d8223b52e56d577590183331413c0ef732ebdd9c9b6aebce15824aba899"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"async-trait",
|
"async-trait",
|
||||||
"base64 0.23.1",
|
"base64 0.23.1",
|
||||||
@@ -4182,7 +4182,7 @@ dependencies = [
|
|||||||
"elliptic-curve 0.14.3",
|
"elliptic-curve 0.14.3",
|
||||||
"primefield",
|
"primefield",
|
||||||
"primeorder 0.14.0",
|
"primeorder 0.14.0",
|
||||||
"sha2 0.11.2",
|
"sha2 0.11.3",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -4196,7 +4196,7 @@ dependencies = [
|
|||||||
"fiat-crypto",
|
"fiat-crypto",
|
||||||
"primefield",
|
"primefield",
|
||||||
"primeorder 0.14.0",
|
"primeorder 0.14.0",
|
||||||
"sha2 0.11.2",
|
"sha2 0.11.3",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -5226,7 +5226,7 @@ dependencies = [
|
|||||||
"ruma-common",
|
"ruma-common",
|
||||||
"ruma-events",
|
"ruma-events",
|
||||||
"serde_json",
|
"serde_json",
|
||||||
"sha2 0.11.2",
|
"sha2 0.11.3",
|
||||||
"thiserror 2.0.21",
|
"thiserror 2.0.21",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -5327,9 +5327,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rustls"
|
name = "rustls"
|
||||||
version = "0.23.46"
|
version = "0.23.48"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf"
|
checksum = "86c8de8f13bac4bb046743409c751e2343621c0293a805c143ede57c5c95c3f8"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aws-lc-rs",
|
"aws-lc-rs",
|
||||||
"log",
|
"log",
|
||||||
@@ -5704,7 +5704,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
checksum = "969cde0349344dbbf58b5f9badbfb8f806db13969364eb8007c057ef687007d9"
|
checksum = "969cde0349344dbbf58b5f9badbfb8f806db13969364eb8007c057ef687007d9"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"annotate-snippets",
|
"annotate-snippets",
|
||||||
"base64 0.23.1",
|
"base64 0.22.1",
|
||||||
"encoding_rs_io",
|
"encoding_rs_io",
|
||||||
"granit-parser",
|
"granit-parser",
|
||||||
"nohash-hasher",
|
"nohash-hasher",
|
||||||
@@ -5909,9 +5909,9 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "sha2"
|
name = "sha2"
|
||||||
version = "0.11.2"
|
version = "0.11.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "5b0e5c7d67bc53f435386b2130fdc900488c5703770f6d8a4633060e34288a27"
|
checksum = "820083d430c52864bf834423fc988cbcf61685d6f9d22a765a64e3f6cfe3521c"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"cfg-if",
|
"cfg-if",
|
||||||
"cpufeatures 0.3.1",
|
"cpufeatures 0.3.1",
|
||||||
@@ -7120,7 +7120,7 @@ dependencies = [
|
|||||||
"hkdf 0.13.0",
|
"hkdf 0.13.0",
|
||||||
"http",
|
"http",
|
||||||
"p256 0.13.2",
|
"p256 0.13.2",
|
||||||
"sha2 0.11.2",
|
"sha2 0.11.3",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
The `element_hacks` build feature, which has done almost nothing for many versions, has been removed completely. Contributed by @ginger.
|
||||||
@@ -102,7 +102,7 @@ look like this:
|
|||||||
RUSTFLAGS="--cfg tokio_unstable" cargo +nightly build \
|
RUSTFLAGS="--cfg tokio_unstable" cargo +nightly build \
|
||||||
--release \
|
--release \
|
||||||
--no-default-features \
|
--no-default-features \
|
||||||
--features=systemd,element_hacks,gzip_compression,brotli_compression,zstd_compression,tokio_console
|
--features=systemd,gzip_compression,brotli_compression,zstd_compression,tokio_console
|
||||||
```
|
```
|
||||||
|
|
||||||
You will also need to enable the `tokio_console` config option in Continuwuity
|
You will also need to enable the `tokio_console` config option in Continuwuity
|
||||||
|
|||||||
+1
-1
@@ -146,7 +146,7 @@ cargo clippy \
|
|||||||
--locked \
|
--locked \
|
||||||
--profile test \
|
--profile test \
|
||||||
--no-default-features \
|
--no-default-features \
|
||||||
--features=console,systemd,element_hacks,direct_tls,perf_measurements,brotli_compression \
|
--features=console,systemd,direct_tls,perf_measurements,brotli_compression \
|
||||||
--color=always \
|
--color=always \
|
||||||
-- \
|
-- \
|
||||||
-D warnings
|
-D warnings
|
||||||
|
|||||||
@@ -21,9 +21,6 @@ brotli_compression = [
|
|||||||
"conduwuit-service/brotli_compression",
|
"conduwuit-service/brotli_compression",
|
||||||
"reqwest/brotli",
|
"reqwest/brotli",
|
||||||
]
|
]
|
||||||
element_hacks = [
|
|
||||||
"conduwuit-service/element_hacks",
|
|
||||||
]
|
|
||||||
gzip_compression = [
|
gzip_compression = [
|
||||||
"conduwuit-core/gzip_compression",
|
"conduwuit-core/gzip_compression",
|
||||||
"conduwuit-service/gzip_compression",
|
"conduwuit-service/gzip_compression",
|
||||||
|
|||||||
@@ -55,7 +55,6 @@ default = [
|
|||||||
standard = [
|
standard = [
|
||||||
"brotli_compression",
|
"brotli_compression",
|
||||||
"direct_tls",
|
"direct_tls",
|
||||||
"element_hacks",
|
|
||||||
"gzip_compression",
|
"gzip_compression",
|
||||||
"io_uring",
|
"io_uring",
|
||||||
"jemalloc_conf",
|
"jemalloc_conf",
|
||||||
@@ -86,10 +85,6 @@ console = [
|
|||||||
direct_tls = [
|
direct_tls = [
|
||||||
"conduwuit-router/direct_tls"
|
"conduwuit-router/direct_tls"
|
||||||
]
|
]
|
||||||
element_hacks = [
|
|
||||||
"conduwuit-service/element_hacks",
|
|
||||||
"conduwuit-router/element_hacks",
|
|
||||||
]
|
|
||||||
gzip_compression = [
|
gzip_compression = [
|
||||||
"conduwuit-core/gzip_compression",
|
"conduwuit-core/gzip_compression",
|
||||||
"conduwuit-router/gzip_compression",
|
"conduwuit-router/gzip_compression",
|
||||||
|
|||||||
@@ -27,9 +27,6 @@ direct_tls = [
|
|||||||
"axum-server/tls-rustls-no-provider",
|
"axum-server/tls-rustls-no-provider",
|
||||||
"dep:axum-server-dual-protocol",
|
"dep:axum-server-dual-protocol",
|
||||||
]
|
]
|
||||||
element_hacks = [
|
|
||||||
"conduwuit-api/element_hacks",
|
|
||||||
]
|
|
||||||
gzip_compression = [
|
gzip_compression = [
|
||||||
"conduwuit-admin/gzip_compression",
|
"conduwuit-admin/gzip_compression",
|
||||||
"conduwuit-api/gzip_compression",
|
"conduwuit-api/gzip_compression",
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ console = [
|
|||||||
"dep:rustyline-async",
|
"dep:rustyline-async",
|
||||||
"dep:termimad",
|
"dep:termimad",
|
||||||
]
|
]
|
||||||
element_hacks = []
|
|
||||||
gzip_compression = [
|
gzip_compression = [
|
||||||
"conduwuit-core/gzip_compression",
|
"conduwuit-core/gzip_compression",
|
||||||
"reqwest/gzip",
|
"reqwest/gzip",
|
||||||
|
|||||||
@@ -75,8 +75,7 @@ impl Service {
|
|||||||
"lazy loading should be enabled by your options"
|
"lazy loading should be enabled by your options"
|
||||||
);
|
);
|
||||||
|
|
||||||
let include_redundant = cfg!(feature = "element_hacks")
|
let include_redundant = ctx.options.is_some_and(Options::include_redundant_members);
|
||||||
|| ctx.options.is_some_and(Options::include_redundant_members);
|
|
||||||
|
|
||||||
let witness = self
|
let witness = self
|
||||||
.witness(ctx, senders.iter().map(AsRef::as_ref))
|
.witness(ctx, senders.iter().map(AsRef::as_ref))
|
||||||
|
|||||||
Reference in new issue
Block a user