Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop Windows support for JSONRPC over UDS #354

Merged
merged 2 commits into from
Jan 24, 2022

Conversation

darosior
Copy link
Member

@darosior darosior commented Jan 19, 2022

Based on #353, which provides a way to access revaultd's commands through a library API, this drops the support of our greatly hacky JSONRPC server on UDS socket for Windows >10.

This also makes the JSONRPC server an optional feature (activated by default).

Fixes #339
Fixes #79
Fixes #27

@darosior darosior requested a review from edouardparis January 19, 2022 15:57

[[bin]]
name = "revault-cli"
path = "src/bin/cli.rs"

[features]
default = ["jsonrpc_server"]
jsonrpc_server = ["jsonrpc-core", "jsonrpc-derive", "mio"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏

@darosior darosior force-pushed the dump_windows branch 2 times, most recently from 04dbc9d to 9c33683 Compare January 19, 2022 17:02
We now have another API accessible for Windows, so we can get rid of
this hack.
@darosior darosior force-pushed the dump_windows branch 2 times, most recently from 63b8933 to 96ffca4 Compare January 20, 2022 08:34
@darosior
Copy link
Member Author

Arf this coordinator bug is really burdensome. Let's ignore it in this PR (Windows code obviously doesn't affect the UNIX-only functional tests).

Copy link
Member

@edouardparis edouardparis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 7ce039c

@darosior darosior merged commit 478d6a5 into revault:master Jan 24, 2022
@darosior darosior deleted the dump_windows branch January 24, 2022 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants