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

Make ipc-channel an optional feature. #572

Merged
merged 1 commit into from Nov 18, 2016
Merged

Conversation

@glennw
Copy link
Member

glennw commented Nov 17, 2016

This allows clients to opt-in to IPC for communication if required.

Otherwise, in-process rust channels are used, avoiding serialization.

This fixes #558.


This change is Reviewable

This allows clients to opt-in to IPC for communication if required.

Otherwise, in-process rust channels are used, avoiding serialization.
@glennw
Copy link
Member Author

glennw commented Nov 17, 2016

@glennw
Copy link
Member Author

glennw commented Nov 17, 2016

@pcwalton
Copy link
Collaborator

pcwalton commented Nov 17, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Nov 17, 2016

📌 Commit 72634a1 has been approved by pcwalton

use serde::{Deserialize, Serialize};
use std::io::Error;

#[cfg(feature = "ipc")]

This comment has been minimized.

@kvark

kvark Nov 17, 2016

Member

given that everything in this module is split between ipc and non-ipc, I'd rather see separate files channel.rs and channel_ipc.rs with a single switch upon including them.

This comment has been minimized.

@glennw

glennw Nov 17, 2016

Author Member

Good idea - #573

@bors-servo
Copy link
Contributor

bors-servo commented Nov 18, 2016

Testing commit 72634a1 with merge b2a15e8...

bors-servo added a commit that referenced this pull request Nov 18, 2016
Make ipc-channel an optional feature.

This allows clients to opt-in to IPC for communication if required.

Otherwise, in-process rust channels are used, avoiding serialization.

This fixes #558.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/572)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Nov 18, 2016

☀️ Test successful - status-travis

@bors-servo bors-servo merged commit 72634a1 into servo:master Nov 18, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@glennw glennw deleted the glennw:no-ipc-for-you branch Dec 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

5 participants
You can’t perform that action at this time.