Skip to content

Commit 255b09a

Browse files
bors[bot]codyps
andcommitted
Merge #69
69: bus: greatly expand API & add an extremely basic example r=jmesmon a=jmesmon Almost feasible to write dbus clients/servers. Still missing `vtable` support. Co-authored-by: Cody P Schafer <[email protected]>
2 parents 0f149d4 + af4ce18 commit 255b09a

23 files changed

+1267
-273
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
11
/target
2-
/Cargo.lock
3-
42
*.bk

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "libsystemd-sys/systemd"]
2-
path = libsystemd-sys/systemd
3-
url = https://github.com/systemd/systemd.git

.travis.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
language: rust
22
dist: trusty
33
sudo: required
4-
cache: ccache
5-
before_install:
6-
- sudo add-apt-repository ppa:pitti/systemd-semaphore -y
7-
- sudo apt-get -qq update
8-
- sudo apt-get install -y intltool gperf libcap-dev libmount-dev libmount1 realpath
9-
- ./libsystemd-sys/build-systemd.sh
4+
cache:
5+
ccache: true
6+
cargo: true
107

11-
env: TARGET_ARCH=x86_64 TARGET_VENDOR=-unknown TARGET_OS=linux-gnu FEATURES=bus
128
rust:
139
- stable
1410
- beta
1511
- nightly
1612

1713
script:
18-
- ci/script.sh
14+
- ci/script
1915

2016
after_success:
2117
- ci/travis-doc-upload.sh

Cargo.lock

Lines changed: 307 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@ log = "~0.4"
1717
libc = "~0.2"
1818
utf8-cstr = "~0.1"
1919
cstr-argument = "~0.1"
20+
#enumflags2 = "^0.5"
21+
#enumflags2_derive = "^0.5"
2022

2123
[dependencies.libsystemd-sys]
2224
path = "libsystemd-sys"
2325
version = "0.2.2"
2426

2527
[dev-dependencies]
2628
version-sync = "0.8"
29+
30+
[profile.release]
31+
debug = true

ci/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM ubuntu:19.04
2+
RUN apt-get update && apt-get install -y --no-install-recommends \
3+
gcc libc6-dev ca-certificates \
4+
libsystemd-dev pkg-config
5+
ENV PATH=$PATH:/rust/bin

ci/common.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)