Comments (10)
rustc 1.76.0-nightly (37b2813a7 2023-11-24) (built from a source tarball)
I can build using rustc 1.76.0 (07dca489a 2024-02-04)
without issues. You may want to update to the latest stable or nightly.
It's meant to break nightly as per dalek-cryptography/curve25519-dalek#619 (comment) I agree the their argument as well: no point of supporting out of date nightly
from rathole.
it looks pretty like a dependency issue. could you please try the latest rust toolchain and compile after a cargo update
? cc @sunmy2019
I honestly have no idea why this is happening given we have tested it on ubuntu
name: Run tests with rustls
run: cargo test --verbose --no-default-features --features server,client,rustls,noise,websocket-rustls,hot-reload
there's a great chance it's a packaging thing.
from rathole.
could you please try the latest rust toolchain and compile after a
cargo update
?
@rapiz1 Thanks, I'm getting the same error after running cargo update
.
from rathole.
Would you mind also sharing your rustc version? @yonas
from rathole.
Enabling rustls
requiring disabling default features. Can you try this?
cargo build --release --no-default-features --features websocket-rustls
from rathole.
See similar situations in jdx/mise#1630
from rathole.
Would you mind also sharing your rustc version?
rustc 1.76.0-nightly (37b2813a7 2023-11-24) (built from a source tarball)
Can you try
cargo build --release --no-default-features --features websocket-rustls
I'm getting the same errors.
from rathole.
rustc 1.76.0-nightly (37b2813a7 2023-11-24) (built from a source tarball)
One of our dependencies only supports the latest nightly. Others have filed report here: dalek-cryptography/curve25519-dalek#619
Use something other than nightly will be good.
from rathole.
Upgrading to nightly on linux fixed the issue.
FreeBSD ports doesn't yet have the latest nightly, so I've resorted to pinning curve25519-dalek to v4.1.1.
Use something other than nightly will be good.
I agree, it should be optional. For example, I wonder if rathole's build.rs / Cargo.toml could detect if nightly is being used and then switch the version of curve25519-dalek from =v4.1.1 to >=v4.1.2.
from rathole.
Glad to hear that it worked for you. That is possible but we will not introduce the maintenance burden for an outdated nightly build. Whenever FreeBSD gets to the latest nightly or stable of rustc, it will work seamlessly. The build should never fail on stable toolchain. Once you opt in for nightly, you're mostly responsible for resolving dependencies on your own because there's no compatibility promise for nightly. I will strongly suggest you use stable toolchain to compile rathole, if you don't have special needs.
from rathole.
Related Issues (20)
- Better Error Handling and Error Messages
- Renovate the release github action
- add aarch64-apple-darwin binary release
- Potential compatibility issue of PKCS#12 format
- why is the rathole connection easily broken? HOT 7
- 不太稳定
- Binding to unix sockets
- Instant SIGKILL (a genuine stumper) HOT 7
- OpenBSD 7.4 with LibreSSL 3.8.2 doesn't compile HOT 1
- Unable to connect - Failed to deserialize hello: invalid value: integer `100466709`, expected variant index 0 <= i < 2 HOT 2
- traffic compression function, udp/tcp.
- Tunnel failure and Interruption when adding a new port HOT 1
- windows service not support HOT 6
- Can't run on Windows Server 2008 R2 HOT 3
- Connection dies after logging out from ssh HOT 1
- Rathole config watcher doesn't work with symlinks HOT 1
- Allow paths in remote_addr for websocket connections
- ERROR rathole::server: Failed to do transport handshake
- TCP connection floods overwhelm the client
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rathole.