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

merge Dev/1.0.0 into main #1331

Merged
merged 716 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
716 commits
Select commit Hold shift + click to select a range
04f05cb
Merge pull request #1091 from eclipse-zenoh/new_reception_timestamp
milyin Jun 6, 2024
2d778ee
massive renaming for shm
yellowhatter Jun 7, 2024
438804f
properties renamed to parameters, selector rework
milyin Jun 9, 2024
a65686a
from (Keyexp, Parameters) added
milyin Jun 9, 2024
4989f4f
attachment made stable
milyin Jun 9, 2024
75fbda2
one more unstable remove
milyin Jun 9, 2024
6b541fc
use moved out of unstable
milyin Jun 9, 2024
9bf86e8
cargo fmt
milyin Jun 9, 2024
5d195e8
Merge branch 'attachment_stable' into selector_rework3
milyin Jun 9, 2024
cf1c653
feat: remove `alive` flag in session/undeclarable objects
wyfo Jun 10, 2024
b0ba472
fix: add missing `Publisher` refactoring
wyfo Jun 10, 2024
00264bf
feat: put unrecognized encoding string in schema of "zenoh/bytes" (#1…
wyfo Jun 10, 2024
2aa42e4
Attachment made stable (#1099)
milyin Jun 10, 2024
2d1e64c
Enable `zenoh/internal` feature in `zenohd` crate (#1105)
fuzzypixelz Jun 10, 2024
05a56ce
fix: add comments
wyfo Jun 10, 2024
634f09f
Merge branch 'dev/1.0.0' into selector_rework3
milyin Jun 10, 2024
3d4375e
fix: fix session clones being dropped
wyfo Jun 10, 2024
f101b44
fix: add comment
wyfo Jun 10, 2024
631e7dd
feat: add unstable `background` method to subscriber/queryable/matchi…
wyfo Jun 10, 2024
2720fe8
fix: remove dead code
wyfo Jun 10, 2024
dfd789f
Merge pull request #1095 from ZettaScaleLabs/shm_renaming
milyin Jun 10, 2024
6e29422
fix: fix implementation
wyfo Jun 10, 2024
ad6c414
hello wrapped, getters added (#1109)
milyin Jun 10, 2024
94bd2e9
fix: rework everything
wyfo Jun 10, 2024
288333a
fix forgotten QoS and Timestamp ext processing for query/reply (#1108)
yellowhatter Jun 10, 2024
7d5d1d4
Merge pull request #1106 from ZettaScaleLabs/background
milyin Jun 10, 2024
13ed78e
Remove StringOrBase64 (#1112)
Mallets Jun 10, 2024
2f01adc
reply_key_expr in trait
milyin Jun 10, 2024
b84bd90
Merge branch 'selector_rework3' of github.com:eclipse-zenoh/zenoh int…
milyin Jun 10, 2024
bca5c4d
fix: make publisher lock safer (#1116)
wyfo Jun 11, 2024
357b90e
Merge branch 'dev/1.0.0' into selector_rework3
milyin Jun 11, 2024
63ca9cb
parameters temporary renamed back, clippy fixes
milyin Jun 11, 2024
e77401e
simplified code
milyin Jun 11, 2024
4b4c6cb
unstable predefined parameters unfinihsed
milyin Jun 11, 2024
05e6716
fix: make `ZBytesIterator` yield deserialization result (#1120)
wyfo Jun 11, 2024
90df380
Remove set_priority and set_congestion_control from publisher
Mallets Jun 12, 2024
f19741b
Merge pull request #1124 from eclipse-zenoh/fix/api_publisher
milyin Jun 12, 2024
81c2dc6
Merge branch 'dev/1.0.0' into selector_rework3
milyin Jun 12, 2024
3393cdc
cargo fmt
milyin Jun 12, 2024
6a5bd62
clippy fix
milyin Jun 12, 2024
ff560e7
module reorg
milyin Jun 12, 2024
10158d6
more renamings
milyin Jun 12, 2024
c8537bc
rename wrapped zenoh-protocol structures to `...Proto`, wrap and expo…
milyin Jun 12, 2024
825bfe4
more renamings
milyin Jun 12, 2024
0bcbc55
cargo fmt
milyin Jun 12, 2024
296c325
doc fix
milyin Jun 12, 2024
97be160
Merge branch 'dev/1.0.0' into selector_rework3
milyin Jun 12, 2024
906215b
after merge updates
milyin Jun 12, 2024
7ff7e81
no import of parameters::* into root of zenoh-protocol
milyin Jun 12, 2024
1bbbc9a
clippy fixes
milyin Jun 12, 2024
115e894
Import zenoh with unstable features (#1128)
Mallets Jun 12, 2024
0e5ca0d
comment updated
milyin Jun 12, 2024
73961dd
feat: remove `Value` from the public API, make it internal for plugin…
wyfo Jun 12, 2024
222af45
cargo fmt
milyin Jun 12, 2024
f66d181
accidental renaming fix
milyin Jun 12, 2024
988c957
Remove internal API's from SHM examples (#1129)
yellowhatter Jun 13, 2024
ede0e36
Add since attribute to #[deprecated] directive (#1121)
Mallets Jun 13, 2024
dbb25d7
Add Default for SourceInfo (#1132)
Charles-Schleich Jun 13, 2024
2aabd7e
Merge branch 'dev/1.0.0' into selector_rework3
milyin Jun 13, 2024
0006d95
Properties Variable renamed to parameters
Mallets Jun 13, 2024
560cb8f
Merge branch 'dev/1.0.0' into selector_rework3
milyin Jun 13, 2024
e81e7f3
Merge dev/1.0.0
Mallets Jun 13, 2024
e1dd672
Merge branch 'selector_rework3' of github.com:eclipse-zenoh/zenoh int…
milyin Jun 13, 2024
7632742
Fix z_get_shm
Mallets Jun 13, 2024
3288900
Improve docs
Mallets Jun 13, 2024
69619b6
restored selector parameter in example
milyin Jun 13, 2024
1f53840
Merge branch 'selector_rework3' of github.com:eclipse-zenoh/zenoh int…
milyin Jun 13, 2024
73bde69
Rename PredefinedParameters to ZenohParameters
Mallets Jun 13, 2024
fbba8bd
Merge branch 'selector_rework3' of github.com:eclipse-zenoh/zenoh int…
Mallets Jun 13, 2024
9250f75
ZenohParameters renaming, comment added
milyin Jun 13, 2024
b8e424c
Merge branch 'selector_rework3' of github.com:eclipse-zenoh/zenoh int…
milyin Jun 13, 2024
cee80ba
cargio fmt
milyin Jun 13, 2024
f4bfcc0
fix: fix proto wrappers debug impl
wyfo Jun 13, 2024
3326911
fix: fix z_scout example
wyfo Jun 13, 2024
7a2c358
fix: fix hello display
wyfo Jun 13, 2024
e7505a6
Merge pull request #1134 from ZettaScaleLabs/fix_wrappers
milyin Jun 13, 2024
99b876e
ci: add checks for zenoh crate alone (#1131)
wyfo Jun 13, 2024
f73d519
Fix unicity tests
Mallets Jun 13, 2024
c73bac2
Merge dev/1.0.0
Mallets Jun 13, 2024
2bfed1a
Use Parameters::empty()
Mallets Jun 13, 2024
f3d0338
Fix --no-default-features
Mallets Jun 13, 2024
3a0bcf6
Fix --no-default-features
Mallets Jun 13, 2024
1123995
Fix cargo fmt
Mallets Jun 13, 2024
ad22c81
Fix wrong use
Mallets Jun 13, 2024
7f4f4aa
fix: fix ZenohIdProto leaking in API (#1133)
wyfo Jun 13, 2024
8591dcc
Merge pull request #1100 from eclipse-zenoh/selector_rework3
milyin Jun 13, 2024
550a040
chore: Sync Rust toolchain
eclipse-zenoh-bot Jun 13, 2024
0046054
Merge pull request #1135 from eclipse-zenoh/eclipse-zenoh-bot/sync-to…
eclipse-zenoh-bot Jun 13, 2024
8d9d187
replier_id() returns Option<ZenohId>
milyin Jun 13, 2024
90bba93
fix: fix hello debug impl (#1137)
wyfo Jun 13, 2024
02fc4a8
fix: fix clippy warnings for 1.79 (#1139)
wyfo Jun 13, 2024
d4f68a2
fix EntityGlobalIdProto leaks
yellowhatter Jun 13, 2024
a2964e6
Merge pull request #1140 from ZettaScaleLabs/fix_entity_global_id_pro…
milyin Jun 13, 2024
ebba8f7
feat: add `Selector::into_owned`
wyfo Jun 14, 2024
2293649
More API leaks fixed (#1143)
yellowhatter Jun 14, 2024
5e9c725
Merge branch 'dev/1.0.0' into option_replier_id
Mallets Jun 14, 2024
2a43a1d
Merge pull request #1138 from eclipse-zenoh/option_replier_id
milyin Jun 14, 2024
a857294
Merge pull request #1142 from ZettaScaleLabs/fix_selector
milyin Jun 14, 2024
b9f6506
Update lib.rs (#1144)
yellowhatter Jun 14, 2024
e2efb1a
default added to ReplyError
milyin Jun 14, 2024
5bff744
Merge pull request #1148 from eclipse-zenoh/reply_error_defaullt
milyin Jun 14, 2024
5a81586
into keyexpr for ZenohId
milyin Jun 16, 2024
a493333
into_keyexpr added to zenphId
milyin Jun 16, 2024
3fd8e62
zenoh-config unstable added
milyin Jun 16, 2024
4ad5b43
export init_log_from_env_or
milyin Jun 16, 2024
2c0105d
Merge pull request #1149 from eclipse-zenoh/dev/1.0.0-plugin-update
milyin Jun 17, 2024
0027fa6
Fix interest protocol when client connected to peer (#1130)
OlivierHecart Jun 17, 2024
0de4385
exposed zread and zwrite needed by plugins, zenohId::into_keyexpr mad…
milyin Jun 17, 2024
a4ac6f4
zasynclock added
milyin Jun 17, 2024
db911e0
Merge pull request #1152 from eclipse-zenoh/expose_macros
milyin Jun 17, 2024
23e36b3
Re-export more traits to zenoh::internal::buffers
Mallets Jun 17, 2024
ff066cc
Enable internal feature for zenoh-config
Mallets Jun 17, 2024
cab6c45
Expose TimedHandle via internal
Charles-Schleich Jun 17, 2024
2fccc37
Merge pull request #1157 from ZettaScaleLabs/expose_timehandle
milyin Jun 17, 2024
338af96
Implement serialize/deserialze for Value (#1158)
Mallets Jun 17, 2024
a5b4a65
Refactor Liveliness implementation (#865)
fuzzypixelz Jun 18, 2024
2392bfe
Remove unwraps
OlivierHecart Jun 18, 2024
811a5f6
Add serialize/deserialize to ZBytesWriter/ZBytesReader
Mallets Jun 18, 2024
5080d18
Add tests
Mallets Jun 18, 2024
f1d7745
Merge pull request #1163 from eclipse-zenoh/feature/zbytes_rw
milyin Jun 18, 2024
eac2e5a
Remove subscriber and query scopes (#1166)
OlivierHecart Jun 18, 2024
6119670
Remove the packages in plugins since it's re-exported now. (#1161)
evshary Jun 18, 2024
53276bc
Add certificate and user/password authentication methods to ACL filte…
oteffahi Jun 18, 2024
e961234
refactor: remove outdated `no_std` part of zenoh_util (#1164)
wyfo Jun 18, 2024
86490c1
feat: add enabled callback to `init_log_with_callback` (#1162)
wyfo Jun 18, 2024
e543dce
Add remaining method to ZBytesReader (#1168)
Mallets Jun 19, 2024
a612fd1
Merge/into/dev/1.0.0/from/main (#1169)
OlivierHecart Jun 19, 2024
5bce0ea
Disable downsampling_by_keyexpr on windows (#1170)
Mallets Jun 19, 2024
39ea5e5
Fix lints check
Mallets Jun 19, 2024
5a89344
Add new_timestamp
Charles-Schleich Jun 19, 2024
e478df6
Clarify queue size config (#1171)
Mallets Jun 20, 2024
6ce0aad
Remove `zenoh-shm` dev dependency on `zenoh-shm test` (#1177)
fuzzypixelz Jun 20, 2024
3799dc1
Comment on unwrap being permissable
Charles-Schleich Jun 20, 2024
db6e0bf
Value fields public
Charles-Schleich Jun 20, 2024
65e5df7
Merge pull request #1178 from ZettaScaleLabs/dev/1.0.0_value
milyin Jun 21, 2024
a6d117b
Merge pull request #1175 from ZettaScaleLabs/zsl/dev/1.0.0/new_timestamp
milyin Jun 21, 2024
755cdc2
Improve bytes (#1174)
Mallets Jun 25, 2024
8f94b08
fix: adminspace encodings (#1182)
gabrik Jun 25, 2024
c4d8877
fix: fix zenoh-shm test requiring "test" feature to compile (#1183)
wyfo Jun 25, 2024
de0a7c3
Update rust version in README.md
Mallets Jun 25, 2024
2b16fed
Fix README format (#1186)
evshary Jun 25, 2024
e1beef1
make HatTokenTrait pub(crate) (#1189)
Charles-Schleich Jun 25, 2024
fc18f90
Implement Error trait for ZBytes error types (#1192)
Mallets Jun 26, 2024
73bdb7f
Fix and Improve liveliness doc (#1195)
OlivierHecart Jun 26, 2024
ebc684c
Allow to enable/disable batching from config (#1196)
Mallets Jun 26, 2024
1790d59
Fix doc warnings (#1197)
OlivierHecart Jun 26, 2024
655922d
Fix #1185. Add encoding option to publisher creation (#1194)
Mallets Jun 27, 2024
271b7c7
fix: replace some unsafe code with safe version (#1184)
wyfo Jun 27, 2024
c96f6b0
Fix Interest codec test (#1198)
Mallets Jun 27, 2024
0c7faa9
Fix CLI args for z_pub_shm (#1199)
Mallets Jun 28, 2024
90054a6
Fix bug leading to call get_unchecked on empty array UB (#1207)
OlivierHecart Jul 1, 2024
9fcb61e
feat: unify pub/sub and query/reply modules (#1193)
wyfo Jul 3, 2024
e021d0d
Add z_bytes in the examples. (#1180)
evshary Jul 3, 2024
76a1d18
Use TCP MSS as TCP link MTU
Mallets Jul 3, 2024
feb25ec
Compute default TCP MSS if not supported
Mallets Jul 3, 2024
770b707
Fix clippy
Mallets Jul 3, 2024
78ffa10
Compute larget tcp mss lesser than max batch size
Mallets Jul 4, 2024
a5195af
Fix clippy
Mallets Jul 4, 2024
5850c94
Consider MSS/2 in TCP MTU computation
Mallets Jul 4, 2024
bef94d1
Make listen and connect endpoints ModeDependentValues (#1216)
OlivierHecart Jul 4, 2024
54d12e1
Bump uhlc to 0.8.0 - changing formatting of Timestamps as Strings (#1…
JEnoch Jul 5, 2024
bf94b9b
Add establishment trace logs
Mallets Jul 5, 2024
c7e418f
fix: typos (#1220)
J-Loudet Jul 5, 2024
47f5347
Compute TCP/TLS MTU upon link creation
Mallets Jul 5, 2024
2b2064c
fix: typos (#1220)
J-Loudet Jul 5, 2024
55557f9
remove `new_timestamp` fn , `time` module, reworked plugin storage … …
Charles-Schleich Jul 5, 2024
45cfe78
Merge pull request #1214 from eclipse-zenoh/feat/tcp_mss
kydos Jul 5, 2024
b2df2b7
Make adminspace return current metadata (#1221)
OlivierHecart Jul 5, 2024
cae8697
simplify timestamp id, remove allocation. (#1223)
Charles-Schleich Jul 5, 2024
418b5a6
Fix typos ("nof" -> "not") (#1227)
fuzzypixelz Jul 5, 2024
6df74c7
fix(storage-manager): do not start when 'timestamping' is disabled (#…
J-Loudet Jul 7, 2024
12b11ee
fix(storage-manager): validate presence of timestamp (#1229)
J-Loudet Jul 8, 2024
9e1c4a8
fix: Update zenoh-macros category (#1232)
diogomatsubara Jul 8, 2024
f641505
Fix downsampling with wildcards (#1240)
sashacmc Jul 12, 2024
01d67de
fix(zenoh-ext): update error log about timestamping (#1237)
JEnoch Jul 12, 2024
afa1bdc
Mark replier_id accessor as unstable (#1226)
Mallets Jul 16, 2024
952cef8
Make `rustls`, `rustls-webpki` and `webpki-roots` optional (#1238)
fuzzypixelz Jul 16, 2024
efffcb3
Fix bug in routers replying to peers liveliness queries (#1233)
OlivierHecart Jul 16, 2024
44b1f2e
fix: fix keyexpr canonization unsafe behavior (#1191)
wyfo Jul 16, 2024
866a6ad
chore: Sync Rust toolchain
eclipse-zenoh-bot Jul 16, 2024
65e1880
Merge pull request #1243 from eclipse-zenoh/eclipse-zenoh-bot/sync-to…
eclipse-zenoh-bot Jul 16, 2024
a97f6e5
chore: Sync Rust toolchain
eclipse-zenoh-bot Jul 16, 2024
bfec17f
Merge pull request #1244 from eclipse-zenoh/eclipse-zenoh-bot/sync-to…
eclipse-zenoh-bot Jul 16, 2024
7f8b854
Null value opts for shm (#1241)
yellowhatter Jul 18, 2024
8529eb6
Fix establish failure on shm (#1242)
yellowhatter Jul 18, 2024
c726e13
Do not trigger transport error in case of SHM buffer invalidation (#1…
yellowhatter Jul 18, 2024
b31a410
Configure `scouting/*/autoconnect/*` with a sequence (#1224)
fuzzypixelz Jul 19, 2024
2e6edca
Log to debug SHM error (#1246)
Mallets Jul 19, 2024
81eacc5
Admin keys remapping (#1209)
OlivierHecart Jul 19, 2024
b2f88ae
Do not require mandatory "unstable" for "internal" feature (#1250)
yellowhatter Jul 22, 2024
c58fcdc
Fix unstable marker atachment (#1251)
yellowhatter Jul 22, 2024
9408f74
fix: fix canonization not updating `&mut str` length (#1254)
wyfo Jul 23, 2024
cf4d3d3
Support bytes::Bytes for ZBytes (#1248)
evshary Jul 23, 2024
cb9fc8a
Update ACL config format to support AND/OR logic between subjects (#1…
oteffahi Jul 23, 2024
f775853
Fix timestamp codec len calculation (#1258)
Mallets Jul 24, 2024
aace7f1
SHM bugfix (#1256)
yellowhatter Jul 24, 2024
7aeb4ad
Add publisher delete and queryable reply messages to ACL (#1259)
oteffahi Jul 24, 2024
4827f39
Make SHM sub\queryable examples more robust (#1261)
yellowhatter Jul 24, 2024
b55c781
SHM on RaspberryPI bugfixes (#1265)
yellowhatter Jul 25, 2024
2e4698f
Align SHM examples (#1268)
Mallets Jul 25, 2024
bc8029b
Fix Clippy errors from Rust 1.80 (#1270)
fuzzypixelz Jul 25, 2024
0c43c08
Don't load plugins/volumes when `plugins_loading/enabled:false` (#1269)
fuzzypixelz Jul 25, 2024
7a9e50b
Fix failover brokering bug reacting to linkstate changes
OlivierHecart Jul 25, 2024
f748616
Update DEFAULT_CONFIG.json5
Mallets Jul 26, 2024
3afd5fa
Update DEFAULT_CONFIG.json5
OlivierHecart Jul 26, 2024
32bdded
Don't duplicate token undeclarations in routers (#1275)
fuzzypixelz Jul 26, 2024
e38fc16
Optimize RoutingContext keyexpr for Query and Response messages (#1266)
oteffahi Jul 26, 2024
86f0848
Renaming (#1276)
OlivierHecart Jul 29, 2024
502d3be
Merge/main into dev/1.0.0 (#1279)
Mallets Jul 30, 2024
24d504b
chore: fix documentation in examples (#1280)
diogomatsubara Jul 30, 2024
b31cc1a
fix: invalid mime crash on REST plugin (#1287)
gabrik Jul 31, 2024
5cfcccc
Shm segment cleanup (#1281)
yellowhatter Jul 31, 2024
bcda8ec
Fix failing Liveliness Subscriber Undeclaration (#1283)
fuzzypixelz Jul 31, 2024
f394867
Rename `from_boxed_string_unchecked` to `from_boxed_str_unchecked` (#…
fuzzypixelz Jul 31, 2024
5d09cf7
Rework `plugins_loading/search_dirs` config option (#1278)
fuzzypixelz Aug 1, 2024
ce4e9bf
Rename `close` to `undeclare` in `zenoh-ext` (#1286)
fuzzypixelz Aug 2, 2024
4d337a9
Rename `close` to `undeclare` in `zenoh-ext-examples` (#1293)
fuzzypixelz Aug 2, 2024
8f4779a
fix: Fix ZBufWriter implementation (#1289)
wyfo Aug 2, 2024
df357ae
Renaming
OlivierHecart Aug 5, 2024
b1e4dba
feat: use the bit manipulation to compute the alignment size (#1206)
YuanYuYuan Aug 5, 2024
b7d42ef
Use tokio to replace async_std for plugins and backends. (#1264)
evshary Aug 6, 2024
2d5ab7c
Fix routing bugs (#1296)
OlivierHecart Aug 6, 2024
931f89f
Remove redundant `WhatAmI` tests in `HatBaseTrait::init` (#1299)
fuzzypixelz Aug 6, 2024
26d0560
refactor: polish the z_bytes (de)serialize impl macro (#1300)
YuanYuYuan Aug 7, 2024
0bc6088
Add append method to ZByteWriter (#1301)
Mallets Aug 7, 2024
764be60
Replace trees computation tasks with a worker (#1303)
OlivierHecart Aug 9, 2024
5b628ac
Avoid warning when failing to connect to an already connected peer (#…
OlivierHecart Aug 12, 2024
0e2f78a
make SHM enabled by default in Config (#1312)
yellowhatter Aug 14, 2024
07ddce1
Bump dev version to `1.0.0-dev` (#1311)
zettascale-bot Aug 20, 2024
efc3148
Hide `UndeclarableInner::undeclare_inner` (#1294)
fuzzypixelz Aug 20, 2024
ae1d109
refactor: remove the unnecessary `Option` in the z_liveliness example…
YuanYuYuan Aug 20, 2024
2d86a73
refactor: demostrate how to use a background subscriber in the exampl…
YuanYuYuan Aug 20, 2024
1696e75
make reliability feature unstable (#1317)
milyin Aug 21, 2024
8b027e9
Fix liveliness bug (#1321)
OlivierHecart Aug 22, 2024
c61a0be
fix: typos (#1297)
brian049 Aug 5, 2024
c817e65
zenohd-default config error #1292 (#1298)
anhaabaete Aug 12, 2024
11811f9
Replace trees computation tasks with a worker (#1303)
OlivierHecart Aug 9, 2024
7c8c44d
Merge branch 'main' into merge_main
milyin Aug 27, 2024
7801908
revering fix https://github.com/eclipse-zenoh/zenoh/pull/1298
milyin Aug 27, 2024
6f43f95
Merge main into dev/1.0.0 (#1326)
milyin Aug 27, 2024
a98971a
Upgrade stabby dependency (#1328)
hakanlundvall Aug 27, 2024
469e9d1
Revert "Merge main into dev/1.0.0 (#1326)"
milyin Aug 27, 2024
084ebb1
Merge pull request #1332 from eclipse-zenoh/revert-1326-merge_main
milyin Aug 27, 2024
732c4c4
Merge pull request #1333 from eclipse-zenoh/merge_main
milyin Aug 27, 2024
1d4c5c8
Fix liveliness bug (#1327)
OlivierHecart Aug 28, 2024
6dea3bf
Fix wire_expr mapping (#1330)
OlivierHecart Aug 28, 2024
7f7d648
Improve pipeline jitter (#1335)
Mallets Aug 28, 2024
335e83c
refactor(storage-manager): move prefix related functions in crate (#1…
J-Loudet Aug 29, 2024
3579f12
Upgrade dependencies to latest version (#1338)
Mallets Aug 29, 2024
926208c
Update DEFAULT_CONFIG.json5
OlivierHecart Aug 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,15 @@ slow-timeout = { period = "60s", terminate-after = 2 }
filter = """
test(=zenoh_session_unicast) |
test(=zenoh_session_multicast) |
test(=zenoh_unicity_p2p) |
test(=zenoh_unicity_brokered) |
test(=transport_tcp_intermittent) |
test(=transport_tcp_intermittent_for_lowlatency_transport) |
test(=three_node_combination)
test(=three_node_combination) |
test(=watchdog_alloc_concurrent) |
test(=header_check_memory_concurrent) |
test(=header_link_concurrent) |
test(=header_link_failure_concurrent)
"""
threads-required = 'num-cpus'
slow-timeout = { period = "60s", terminate-after = 6 }
40 changes: 32 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,28 @@ jobs:
uses: taiki-e/install-action@cargo-deny

- name: Code format check
run: cargo fmt --check
run: cargo fmt --check -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate"

- name: Clippy
run: cargo +stable clippy --all-targets -- --deny warnings
- name: Clippy zenoh no-default-features
run: cargo +stable clippy -p zenoh --all-targets --no-default-features -- --deny warnings

- name: Clippy unstable targets
run: cargo +stable clippy --all-targets --features unstable -- --deny warnings
- name: Clippy zenoh
run: cargo +stable clippy -p zenoh --all-targets -- --deny warnings

- name: Clippy zenoh unstable
run: cargo +stable clippy -p zenoh --all-targets --features unstable -- --deny warnings

- name: Clippy zenoh internal
run: cargo +stable clippy -p zenoh --all-targets --features unstable,internal -- --deny warnings

- name: Clippy zenoh shared-memory
run: cargo +stable clippy -p zenoh --all-targets --features unstable,shared-memory -- --deny warnings

- name: Clippy workspace
run: cargo +stable clippy --all-targets --features test -- --deny warnings

- name: Clippy workspace unstable
run: cargo +stable clippy --all-targets --features unstable,test -- --deny warnings

- name: Clippy all features
if: ${{ matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest' }}
Expand All @@ -71,6 +86,11 @@ jobs:
- name: Run doctests
run: cargo test --doc

- name: Build doc
run: cargo doc --no-deps --features unstable
env:
RUSTDOCFLAGS: -Dwarnings

- name: Check licenses
run: cargo deny check licenses

Expand Down Expand Up @@ -103,11 +123,15 @@ jobs:
uses: taiki-e/install-action@nextest

- name: Run tests
run: cargo nextest run --exclude zenoh-examples --exclude zenoh-plugin-example --workspace
run: cargo nextest run -F test --exclude zenoh-examples --exclude zenoh-plugin-example --workspace

- name: Run tests with SHM
if: ${{ matrix.os == 'macOS-latest' || matrix.os == 'windows-latest' }}
run: cargo nextest run -F test -F shared-memory -F unstable -E 'not (test(test_default_features))' --exclude zenoh-examples --exclude zenoh-plugin-example --workspace

- name: Run tests with SHM + unixpipe
if: ${{ matrix.os == 'ubuntu-latest' }}
run: cargo nextest run -F shared-memory -F transport_unixpipe -p zenoh-transport
run: cargo nextest run -F test -F shared-memory -F unstable -F transport_unixpipe -E 'not (test(test_default_features))' --exclude zenoh-examples --exclude zenoh-plugin-example --workspace

- name: Check for feature leaks
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand Down Expand Up @@ -137,7 +161,7 @@ jobs:
name: Typos Check
runs-on: ubuntu-latest
steps:
- name: Clone this repository
- name: Clone this repository
uses: actions/checkout@v4

- name: Check spelling
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: rustup component add rustfmt clippy

- name: Code format check
run: cargo fmt --check
run: cargo fmt --check -- cargo fmt --check -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate"
env:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

Expand Down
21 changes: 21 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# Copyright (c) 2024 ZettaScale Technology
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0, or the Apache License, Version 2.0
# which is available at https://www.apache.org/licenses/LICENSE-2.0.
#
# SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
#
# Contributors:
# ZettaScale Zenoh Team, <[email protected]>
#
repos:
- repo: local
hooks:
- id: fmt
name: fmt
entry: cargo fmt -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate"
language: system
types: [rust]
Loading