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

New api proposal #346

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
78c84aa
relinked to explicit_api2, QoS removed
milyin Apr 8, 2024
cd28dcc
Merge branch 'protocol_changes' into protocol_changes_relink
milyin Apr 9, 2024
ef031b3
commons.rs compiles
milyin Apr 9, 2024
9cf7c5c
get compilation fix
milyin Apr 9, 2024
c2f72fb
encoding unfinished
milyin Apr 9, 2024
d98c79a
transmute size compile errors
milyin Apr 9, 2024
f58020b
Merge branch 'protocol_changes' into protocol_changes_relink
milyin Apr 11, 2024
f41fb5a
compilation fix unfinished
milyin Apr 11, 2024
95d0590
transmute rework
milyin Apr 12, 2024
fb761dc
unfinished
milyin Apr 12, 2024
4bc4f20
*mut MaybeUinit
milyin Apr 12, 2024
1ab939b
transmute encoding
milyin Apr 12, 2024
015eed1
transmute simplified
milyin Apr 13, 2024
fd2153b
explicit opaque types, renaming
milyin Apr 13, 2024
758eb2f
more structs converted
milyin Apr 13, 2024
41f2a0b
commented out all, removed old macro
milyin Apr 13, 2024
34c471b
disabled header split, compiles
milyin Apr 13, 2024
8a6ef17
session weak remove started
milyin Apr 14, 2024
ae9d39b
session updated
milyin Apr 14, 2024
3e541d9
payload compiles
milyin Apr 14, 2024
34bf562
calling transmute_unitini_ptr as method
milyin Apr 14, 2024
fb8fa04
config partially updated
milyin Apr 15, 2024
e20e80b
some progress
DenisBiryukov91 Apr 19, 2024
931ca49
all builds except shm
DenisBiryukov91 Apr 22, 2024
6a92b92
fixes
DenisBiryukov91 Apr 23, 2024
e6497a8
fmt
DenisBiryukov91 Apr 23, 2024
70ac887
clippy
DenisBiryukov91 Apr 23, 2024
b6f05d5
removed shm / pull subscriber; updated macros
DenisBiryukov91 Apr 23, 2024
630c3cb
more fixes
DenisBiryukov91 Apr 23, 2024
328c28f
removed ref to local zenoh
DenisBiryukov91 Apr 23, 2024
a0e2665
removed ref to local zenoh in build-resources
DenisBiryukov91 Apr 23, 2024
c9cedaf
z_get/z_delete examples compile
DenisBiryukov91 Apr 24, 2024
1b54f3f
z_get_liveliness example builds
DenisBiryukov91 Apr 24, 2024
504a81c
fixed api to newly-agreed usage of handle pointers
DenisBiryukov91 Apr 24, 2024
d0c513c
fixed api for view types
DenisBiryukov91 Apr 25, 2024
923c6f0
builds
DenisBiryukov91 Apr 25, 2024
6842d59
fmt and clippy
DenisBiryukov91 Apr 26, 2024
155aa60
explicitely named loaned types
DenisBiryukov91 Apr 26, 2024
044757a
automated macro-function generation
DenisBiryukov91 Apr 26, 2024
cff75b0
automated macro-function generation
DenisBiryukov91 Apr 26, 2024
b8dc2a9
point zenoh branch to protocol_changes; examples build
DenisBiryukov91 Apr 29, 2024
45d04d9
tests build
DenisBiryukov91 Apr 30, 2024
e748a6f
most tests pass
DenisBiryukov91 May 2, 2024
80b1be2
create zenoh_macros.h if it is missing
DenisBiryukov91 May 2, 2024
dc5c631
clippy
DenisBiryukov91 May 2, 2024
a74ce3a
update docs/api.rst;
DenisBiryukov91 May 3, 2024
e62568c
update docs/api.rst
DenisBiryukov91 May 3, 2024
d860c28
update docs/api.rst; fix z_slice_check name
DenisBiryukov91 May 3, 2024
8b77e56
fix z_slice_check name
DenisBiryukov91 May 3, 2024
749bc44
remove non-exisiting z_view_slice_drop and z_view_str_drop from docs
DenisBiryukov91 May 3, 2024
2133e42
fix z_str_len
DenisBiryukov91 May 3, 2024
dbccc30
fix docs/api.rst
DenisBiryukov91 May 3, 2024
3bed72f
fix encoding
DenisBiryukov91 May 3, 2024
bd33ce7
docs build
DenisBiryukov91 May 3, 2024
e6f8eb9
docs/api.rst
DenisBiryukov91 May 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
661 changes: 479 additions & 182 deletions Cargo.lock

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ maintenance = { status = "actively-developed" }
[dependencies]
async-std = "=1.12.0"
async-trait = "0.1.66"
chrono = "0.4.34"
chrono = "0.4.37"
env_logger = "0.10.0"
futures = "0.3.26"
json5 = "0.4.1"
Expand All @@ -50,14 +50,17 @@ libc = "0.2.139"
log = "0.4.17"
rand = "0.8.5"
spin = "0.9.5"
unwrap-infallible = "0.1.5"
const_format = "0.2.32"
# shared-memory enabled for zenoh even if zenoh-c "shared-memory" feature is disabled. This is to make "std::mem::transmute" work for `ZSLice`
zenoh = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = ["shared-memory", "unstable"], default-features = false }
zenoh-protocol = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = ["shared-memory"] }
zenoh-util = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main" }
zenoh-ext = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = ["unstable"] }
zenoh = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "protocol_changes", features = ["shared-memory", "unstable"], default-features = false }
zenoh-protocol = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "protocol_changes", features = ["shared-memory"] }
zenoh-util = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "protocol_changes" }
zenoh-ext = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "protocol_changes", features = ["unstable"] }


[build-dependencies]
cbindgen = "0.24.3"
cbindgen = "0.26.0"
fs2 = "0.4.3"
regex = "1.7.1"
serde_yaml = "0.9.19"
Expand Down
15 changes: 9 additions & 6 deletions Cargo.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ maintenance = { status = "actively-developed" }
[dependencies]
async-std = "=1.12.0"
async-trait = "0.1.66"
chrono = "0.4.34"
chrono = "0.4.37"
env_logger = "0.10.0"
futures = "0.3.26"
json5 = "0.4.1"
Expand All @@ -50,14 +50,17 @@ libc = "0.2.139"
log = "0.4.17"
rand = "0.8.5"
spin = "0.9.5"
unwrap-infallible = "0.1.5"
const_format = "0.2.32"
# shared-memory enabled for zenoh even if zenoh-c "shared-memory" feature is disabled. This is to make "std::mem::transmute" work for `ZSLice`
zenoh = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = ["shared-memory", "unstable"], default-features = false }
zenoh-protocol = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = ["shared-memory"] }
zenoh-util = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main" }
zenoh-ext = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", features = ["unstable"] }
zenoh = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "protocol_changes", features = ["shared-memory", "unstable"], default-features = false }
zenoh-protocol = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "protocol_changes", features = ["shared-memory"] }
zenoh-util = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "protocol_changes" }
zenoh-ext = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "protocol_changes", features = ["unstable"] }


[build-dependencies]
cbindgen = "0.24.3"
cbindgen = "0.26.0"
fs2 = "0.4.3"
regex = "1.7.1"
serde_yaml = "0.9.19"
Expand Down
Loading
Loading