blinry
1694b240c4
daemon: Bump version to 0.7.0
2025-07-27 19:05:31 +02:00
Moritz Neeb
9039b50a92
Bump version and add changelog for 0.7.0-beta.1
2025-07-18 11:53:18 +02:00
Moritz Neeb
7129d19b15
Bump version to 0.7.0-beta.0
2025-07-16 17:32:07 +02:00
Moritz Neeb
5c7bff7f1b
Add git2 dependency
2025-07-07 17:31:55 +02:00
Moritz Neeb
353e98645d
Introduce our own serialization for messages between peers
...
This prepares for the possibility to send different kind of messages
between peers, such as ephemeral data.
Co-authored-by: blinry <mail@blinry.org >
2025-06-27 11:39:38 +02:00
Moritz Neeb
33c390afb9
Re-enable stripping of symbols in release build
2025-06-20 09:44:48 +02:00
Moritz Neeb
421648f907
Upgrade automerge to 0.6.1
2025-06-20 09:44:48 +02:00
Moritz Neeb
202815abac
Downgrade constant_time_eq to allow MacOS release builds
...
This is a tricky one: constant_time_eq version 4.0.0 and higher is an edition 2024
crate and requires Rust 1.85 or higher. But from that version on there's a problem
with the MacOS release build, due to a bug down the stack of iroh, described in [1].
As constant_time_eq would be our only edition 2024 crate, we can keep it pinned
to a 2021 edition version and a certain developer using MacOS can keep building
it with Rust 1.84.
[1] https://github.com/n0-computer/iroh/issues/3353
2025-06-20 09:44:48 +02:00
blinry
8064f50248
Update all crates in daemon and integration-tests (except automerge)
...
The only other crate we cannot update is the rand crate: iroh currently
requires v0.8.
2025-06-20 09:44:48 +02:00
Moritz Neeb
088d486d68
logging: Simplify code, as we always have been using UTC time anyways
...
For some details see https://github.com/ethersync/ethersync/issues/237 .
2025-06-16 12:18:34 +02:00
blinry
4cf2b69145
By default, strongly reduce log noise
...
Hide thread ID, timestamps, log level, and source of the log.
To get more logs, you can set the RUST_LOG variable, in which case the
above details are shown again. For example:
- `RUST_LOG=debug ethersync` to show all debug logs.
- `RUST_LOG=ethersync=debug ethersync` to show only our debug logs.
- `RUST_LOG=info,iroh=debug ethersync` to show info logs, but debug logs
for iroh.
2025-06-16 12:18:34 +02:00
Moritz Neeb
41931657b9
adding magic-wormhole dependency
2025-06-16 12:18:34 +02:00
blinry
5864d451b5
Connecting peer must provide correct passphrase
2025-06-11 10:33:44 +02:00
blinry
165e290921
Add key persistence, remove old code
2025-06-11 10:33:44 +02:00
blinry
4355e06f9a
Start replacing libp2p with iroh
2025-06-11 10:33:44 +02:00
blinry
f4ac5a5bab
reuse: Add headers to to integration test files
2025-01-16 08:08:18 -05:00
Moritz Neeb
56660abba8
Add REUSE headers and some config and workflow
2025-01-16 08:08:18 -05:00
blinry
d034b95cda
Bump daemon to v0.6.0
2024-12-13 11:39:55 +01:00
19年梦醒
030af6c8ec
merge libp2p-identity and libp2p-pnet into libp2p crate
2024-12-01 18:32:16 +08:00
blinry
3b170c5d7a
Show path and a backtrace when failing to canonicalize in sandbox
2024-11-29 11:59:06 +01:00
blinry
bd3151500c
Use Display instead of Debug to display paths
...
We think this might be the proper way to go for user-facing strings.
2024-10-06 17:13:57 +02:00
blinry
b89c2f2b12
Use the Deref trait! It's magic!
2024-10-02 22:37:27 +02:00
Moritz Neeb
e0776f6b6c
Bump daemon version to 0.5.0
2024-09-30 11:00:48 +02:00
Moritz Neeb
7e30859cc0
drop memorable_wordlist dependency
2024-09-26 18:15:56 +02:00
blinry
cd99fa771b
Update crate versions found by cargo outdated -wR
2024-09-24 08:43:10 +02:00
blinry
4e067e2f0e
crates.io says: "keywords must have less than 20 characters"...
2024-09-13 17:17:36 +02:00
blinry
abe696bd2c
Add more fields to Cargo.toml, in preparation for crate publication
2024-09-13 16:23:30 +02:00
blinry
89140e534e
Release 0.4.0, update changelog
2024-09-13 14:10:29 +02:00
Moritz Neeb
80313ba879
Revert "Switch to Kqueue Watcher on MacOS"
...
This reverts commit 6e908ccd7d .
2024-09-12 14:25:59 +02:00
blinry
59f859eb3a
Re-enable colors in tracing. This is essential for us! :P
2024-09-10 16:59:10 +02:00
Moritz Neeb
1251e76506
refactor: Reformat Cargo.toml
2024-09-10 16:46:14 +02:00
Moritz Neeb
6e908ccd7d
Switch to Kqueue Watcher on MacOS
2024-09-10 16:45:24 +02:00
blinry
afc77f769c
Enable Tokio's io-util feature
...
I'm a bit confused, because I can't reproduce the CI failure locally.
2024-09-09 16:16:53 +02:00
Danny McClanahan
13ee807fef
move integration tests to new plugin-fuzz subcrate
2024-09-09 15:49:23 +02:00
Danny McClanahan
5891212555
Strip symbols in --release profile
...
Also, add --profile release-{lto,size} for much slower but smaller binaries.
Co-authored-by: Moritz Neeb <nt4u@kpvn.de >
2024-08-15 20:48:09 +02:00
Danny McClanahan
961b2fef36
make --socket-path pull ETHERSYNC_SOCKET from env
...
- remove ETHERSYNC_SOCKET conversion from nvim plugin
- add info log for socket path if set from env in daemon
2024-08-14 16:13:11 -04:00
blinry
1e8afa7fe9
Refactor JSON-RPC forwarder using Tokio's Codec and Framed traits
...
They specify how to go from a byte stream to a stream of messages, and
back.
2024-08-12 18:12:01 +02:00
blinry
d77b035c0c
Run cargo update move tracing-test to dev-dependencies
2024-08-12 18:12:01 +02:00
Moritz Neeb
84902de96c
Read configuration from config file in .ethersync
2024-08-06 18:00:30 +02:00
blinry
755f398e79
Use a shared secret create a libp2p "Private Network"
2024-08-06 18:00:30 +02:00
blinry
2a99c4030b
Persist libp2p key pair (store it in .ethersync/key)
2024-08-06 18:00:30 +02:00
blinry
921ecbaf25
Establish libp2p connection
...
- Take into account --port when listening in libp2p
- Simplify code by removing make_peer_connection
- Show more peer status infos
2024-08-06 18:00:30 +02:00
blinry
116066f7da
Don't set debug = true in release profile
...
We did this when we were experimenting with cargo flamegraph...
2024-07-31 16:01:20 +02:00
blinry
cc0bfb1a25
Route all file I/O through safe(r) functions in the safety module
2024-07-29 14:27:41 +02:00
blinry
20f399e76b
Remove (now) unused "difference" crate
2024-07-25 15:47:40 +02:00
Moritz Neeb
1213406153
Add dissimilar dependency
2024-07-25 10:59:41 +02:00
blinry
12120bda58
When files have changed since last daemon start, calculate and apply diff
2024-07-19 16:05:00 +02:00
Moritz Neeb
f2842ba26f
Synchronize removal of files based on file watching events
...
Co-authored-by: blinry <mail@blinry.org >
2024-07-18 17:15:38 +02:00
blinry
2534308522
daemon: Ignore files from .gitignore and .git directory
...
Closes #52 .
2024-07-16 18:26:21 +02:00
blinry
f6494c435d
CI: Allow running all tests with cargo test -- --include-ignored
...
This means commenting out broken tests, and using the serial_test crate.
2024-06-20 11:04:19 +02:00