transform-tree 0.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. transform_tree-0.0.3/Cargo.toml +231 -0
  2. transform_tree-0.0.3/LICENSE-APACHE +201 -0
  3. transform_tree-0.0.3/LICENSE-MIT +21 -0
  4. transform_tree-0.0.3/NOTICE +30 -0
  5. transform_tree-0.0.3/PKG-INFO +321 -0
  6. transform_tree-0.0.3/README.md +300 -0
  7. transform_tree-0.0.3/crates/tf_tree/Cargo.toml +273 -0
  8. transform_tree-0.0.3/crates/tf_tree/LICENSE-APACHE +201 -0
  9. transform_tree-0.0.3/crates/tf_tree/LICENSE-MIT +21 -0
  10. transform_tree-0.0.3/crates/tf_tree/NOTICE +30 -0
  11. transform_tree-0.0.3/crates/tf_tree/README.md +160 -0
  12. transform_tree-0.0.3/crates/tf_tree/src/bin/rendezvous_child.rs +297 -0
  13. transform_tree-0.0.3/crates/tf_tree/src/cache.rs +617 -0
  14. transform_tree-0.0.3/crates/tf_tree/src/cbor.rs +213 -0
  15. transform_tree-0.0.3/crates/tf_tree/src/frozen.rs +326 -0
  16. transform_tree-0.0.3/crates/tf_tree/src/lib.rs +360 -0
  17. transform_tree-0.0.3/crates/tf_tree/src/open.rs +799 -0
  18. transform_tree-0.0.3/crates/tf_tree/src/tree.rs +3798 -0
  19. transform_tree-0.0.3/crates/tf_tree/src/unstable.rs +99 -0
  20. transform_tree-0.0.3/crates/tf_tree/tests/await_frames.rs +203 -0
  21. transform_tree-0.0.3/crates/tf_tree/tests/batch.rs +584 -0
  22. transform_tree-0.0.3/crates/tf_tree/tests/behavior.rs +644 -0
  23. transform_tree-0.0.3/crates/tf_tree/tests/common/mod.rs +241 -0
  24. transform_tree-0.0.3/crates/tf_tree/tests/construction.rs +282 -0
  25. transform_tree-0.0.3/crates/tf_tree/tests/counters.rs +343 -0
  26. transform_tree-0.0.3/crates/tf_tree/tests/derivatives.rs +886 -0
  27. transform_tree-0.0.3/crates/tf_tree/tests/enumeration.rs +171 -0
  28. transform_tree-0.0.3/crates/tf_tree/tests/feature_gates.rs +171 -0
  29. transform_tree-0.0.3/crates/tf_tree/tests/frozen.rs +629 -0
  30. transform_tree-0.0.3/crates/tf_tree/tests/lookup.rs +177 -0
  31. transform_tree-0.0.3/crates/tf_tree/tests/math_reexports.rs +138 -0
  32. transform_tree-0.0.3/crates/tf_tree/tests/owned_writer.rs +363 -0
  33. transform_tree-0.0.3/crates/tf_tree/tests/plan_cache_identity.rs +353 -0
  34. transform_tree-0.0.3/crates/tf_tree/tests/rendezvous.rs +1421 -0
  35. transform_tree-0.0.3/crates/tf_tree/tests/tsan.rs +109 -0
  36. transform_tree-0.0.3/crates/tf_tree_arena/Cargo.toml +44 -0
  37. transform_tree-0.0.3/crates/tf_tree_arena/LICENSE-APACHE +201 -0
  38. transform_tree-0.0.3/crates/tf_tree_arena/LICENSE-MIT +21 -0
  39. transform_tree-0.0.3/crates/tf_tree_arena/NOTICE +30 -0
  40. transform_tree-0.0.3/crates/tf_tree_arena/README.md +85 -0
  41. transform_tree-0.0.3/crates/tf_tree_arena/src/check.rs +297 -0
  42. transform_tree-0.0.3/crates/tf_tree_arena/src/frozen.rs +1017 -0
  43. transform_tree-0.0.3/crates/tf_tree_arena/src/header.rs +415 -0
  44. transform_tree-0.0.3/crates/tf_tree_arena/src/heap.rs +418 -0
  45. transform_tree-0.0.3/crates/tf_tree_arena/src/layout.rs +715 -0
  46. transform_tree-0.0.3/crates/tf_tree_arena/src/lib.rs +65 -0
  47. transform_tree-0.0.3/crates/tf_tree_arena/src/mapped.rs +870 -0
  48. transform_tree-0.0.3/crates/tf_tree_arena/tests/heap_alignment.rs +139 -0
  49. transform_tree-0.0.3/crates/tf_tree_core/Cargo.toml +69 -0
  50. transform_tree-0.0.3/crates/tf_tree_core/LICENSE-APACHE +201 -0
  51. transform_tree-0.0.3/crates/tf_tree_core/LICENSE-MIT +21 -0
  52. transform_tree-0.0.3/crates/tf_tree_core/NOTICE +30 -0
  53. transform_tree-0.0.3/crates/tf_tree_core/README.md +86 -0
  54. transform_tree-0.0.3/crates/tf_tree_core/src/arena_view.rs +688 -0
  55. transform_tree-0.0.3/crates/tf_tree_core/src/bench_probe.rs +57 -0
  56. transform_tree-0.0.3/crates/tf_tree_core/src/buffer.rs +385 -0
  57. transform_tree-0.0.3/crates/tf_tree_core/src/counters.rs +210 -0
  58. transform_tree-0.0.3/crates/tf_tree_core/src/edge.rs +551 -0
  59. transform_tree-0.0.3/crates/tf_tree_core/src/error.rs +338 -0
  60. transform_tree-0.0.3/crates/tf_tree_core/src/frame.rs +614 -0
  61. transform_tree-0.0.3/crates/tf_tree_core/src/layout.rs +380 -0
  62. transform_tree-0.0.3/crates/tf_tree_core/src/lib.rs +176 -0
  63. transform_tree-0.0.3/crates/tf_tree_core/src/loom_tests.rs +806 -0
  64. transform_tree-0.0.3/crates/tf_tree_core/src/participant.rs +322 -0
  65. transform_tree-0.0.3/crates/tf_tree_core/src/plan.rs +2714 -0
  66. transform_tree-0.0.3/crates/tf_tree_core/src/sample.rs +583 -0
  67. transform_tree-0.0.3/crates/tf_tree_core/src/sync.rs +47 -0
  68. transform_tree-0.0.3/crates/tf_tree_core/src/tests.rs +2284 -0
  69. transform_tree-0.0.3/crates/tf_tree_core/src/topology.rs +820 -0
  70. transform_tree-0.0.3/crates/tf_tree_ipc/Cargo.toml +80 -0
  71. transform_tree-0.0.3/crates/tf_tree_ipc/LICENSE-APACHE +201 -0
  72. transform_tree-0.0.3/crates/tf_tree_ipc/LICENSE-MIT +21 -0
  73. transform_tree-0.0.3/crates/tf_tree_ipc/NOTICE +30 -0
  74. transform_tree-0.0.3/crates/tf_tree_ipc/README.md +95 -0
  75. transform_tree-0.0.3/crates/tf_tree_ipc/src/bin/ipc_child.rs +249 -0
  76. transform_tree-0.0.3/crates/tf_tree_ipc/src/client.rs +304 -0
  77. transform_tree-0.0.3/crates/tf_tree_ipc/src/error.rs +586 -0
  78. transform_tree-0.0.3/crates/tf_tree_ipc/src/fork.rs +161 -0
  79. transform_tree-0.0.3/crates/tf_tree_ipc/src/identity.rs +262 -0
  80. transform_tree-0.0.3/crates/tf_tree_ipc/src/lib.rs +130 -0
  81. transform_tree-0.0.3/crates/tf_tree_ipc/src/lockfile.rs +571 -0
  82. transform_tree-0.0.3/crates/tf_tree_ipc/src/ofd.rs +233 -0
  83. transform_tree-0.0.3/crates/tf_tree_ipc/src/open.rs +777 -0
  84. transform_tree-0.0.3/crates/tf_tree_ipc/src/procstat.rs +242 -0
  85. transform_tree-0.0.3/crates/tf_tree_ipc/src/rendezvous.rs +401 -0
  86. transform_tree-0.0.3/crates/tf_tree_ipc/src/runtime_dir.rs +466 -0
  87. transform_tree-0.0.3/crates/tf_tree_ipc/src/server.rs +635 -0
  88. transform_tree-0.0.3/crates/tf_tree_ipc/src/wire.rs +526 -0
  89. transform_tree-0.0.3/crates/tf_tree_ipc/tests/multiprocess.rs +794 -0
  90. transform_tree-0.0.3/crates/tf_tree_math/Cargo.toml +50 -0
  91. transform_tree-0.0.3/crates/tf_tree_math/LICENSE-APACHE +201 -0
  92. transform_tree-0.0.3/crates/tf_tree_math/LICENSE-MIT +21 -0
  93. transform_tree-0.0.3/crates/tf_tree_math/NOTICE +30 -0
  94. transform_tree-0.0.3/crates/tf_tree_math/README.md +131 -0
  95. transform_tree-0.0.3/crates/tf_tree_math/src/dualquat.rs +557 -0
  96. transform_tree-0.0.3/crates/tf_tree_math/src/interp.rs +807 -0
  97. transform_tree-0.0.3/crates/tf_tree_math/src/iso3.rs +705 -0
  98. transform_tree-0.0.3/crates/tf_tree_math/src/lib.rs +52 -0
  99. transform_tree-0.0.3/crates/tf_tree_math/src/quat.rs +346 -0
  100. transform_tree-0.0.3/crates/tf_tree_math/src/reference.rs +27 -0
  101. transform_tree-0.0.3/crates/tf_tree_math/src/twist.rs +419 -0
  102. transform_tree-0.0.3/crates/tf_tree_math/tests/proptests.rs +457 -0
  103. transform_tree-0.0.3/crates/tf_tree_math/tests/slerp_public.rs +654 -0
  104. transform_tree-0.0.3/crates/tf_tree_py/Cargo.lock +453 -0
  105. transform_tree-0.0.3/crates/tf_tree_py/Cargo.toml +99 -0
  106. transform_tree-0.0.3/crates/tf_tree_py/src/errors.rs +1063 -0
  107. transform_tree-0.0.3/crates/tf_tree_py/src/lib.rs +296 -0
  108. transform_tree-0.0.3/crates/tf_tree_py/src/offline.rs +642 -0
  109. transform_tree-0.0.3/crates/tf_tree_py/src/tree.rs +1740 -0
  110. transform_tree-0.0.3/pyproject.toml +91 -0
  111. transform_tree-0.0.3/python/tf_tree/__init__.py +107 -0
  112. transform_tree-0.0.3/python/tf_tree/_core.pyi +544 -0
  113. transform_tree-0.0.3/python/tf_tree/py.typed +0 -0
@@ -0,0 +1,231 @@
1
+ [workspace]
2
+ resolver = "2"
3
+ members = [
4
+ "crates/tf_tree_math",
5
+ "crates/tf_tree_arena",
6
+ "crates/tf_tree_core",
7
+ "crates/tf_tree_ipc",
8
+ "crates/tf_tree",
9
+ "crates/tf_tree_bench",
10
+ "crates/tf_tree_cli",
11
+ "crates/tf_tree_bridge",
12
+ "crates/tf_tree_ingest",
13
+ "crates/tf_tree_c",
14
+ "xtask",
15
+ ]
16
+ # `tf_tree_tf2_sys` bridges to ROS 2's `tf2::BufferCore` and only builds where
17
+ # ROS 2 is installed. Excluding it keeps `cargo build --workspace` working on
18
+ # every host; `tf_tree_bench --features tf2` pulls it in as a path dependency
19
+ # when a ROS toolchain is actually present.
20
+ exclude = [
21
+ # Links libpython, which a plain `cargo build --workspace` cannot assume is
22
+ # present — same reasoning as `tf_tree_tf2_sys` and ROS below. Built and
23
+ # tested by `just py-*`, which point PyO3 at a uv-managed interpreter.
24
+ "crates/tf_tree_py","crates/tf_tree_tf2_sys"]
25
+
26
+ [workspace.package]
27
+ # **0.0.1, and the number is a statement about compatibility rather than about
28
+ # maturity.** Under `0.0.x` cargo treats every release as incompatible with
29
+ # every other: `^0.0.1` — which is what a bare `tf_tree = "0.0.1"` means —
30
+ # matches `0.0.1` and nothing else, so a later `0.0.2` reaches no existing
31
+ # dependant through `cargo update`. That is the honest signal for a first
32
+ # publish of an engine whose §0.0 tables still carry open rows: nothing is
33
+ # promised, and every release may break.
34
+ #
35
+ # **This supersedes `SUPPORT.md`'s minor-bump-on-MSRV rule for the whole 0.0.x
36
+ # line, and the tension it creates is stated rather than deleted.** This field
37
+ # read 0.2.0 on the argument that an MSRV bump is a minor-version bump pre-1.0,
38
+ # and that the policy should be applied uniformly rather than skipped when it
39
+ # happens to be cheap — two measured raises, 1.83 → 1.85 → 1.87, two minor
40
+ # slots. Under 0.0.x there is no minor slot for that rule to occupy. The only
41
+ # field left to move is the patch, and a patch release is exactly what the rule
42
+ # says an MSRV bump must never be. What breaks the deadlock is that the rule's
43
+ # purpose — never move the floor under a dependant who resolved by a range —
44
+ # is already served here by the resolver: no range spans two 0.0.x releases, so
45
+ # an MSRV raise reaches nobody who did not opt into it by editing a manifest.
46
+ # The rule comes back into force at 0.1.0, where a minor slot exists again.
47
+ # `SUPPORT.md`'s MSRV section carries the same statement in its own voice.
48
+ version = "0.0.3"
49
+ edition = "2021"
50
+ # **1.87, and each step was forced by a dependency rather than chosen.**
51
+ #
52
+ # 1.83 → 1.85: `cargo +1.83 build --workspace` failed to *parse* a manifest —
53
+ # `blake3 1.8.5` pulls `constant_time_eq 0.4.2`, which is `edition = "2024"` and
54
+ # declares `rust-version = "1.85.0"`. So 1.83 was a promise nothing kept.
55
+ #
56
+ # 1.85 → 1.87: `ruzstd 0.9.0` declares `rust-version = "1.87"`. It is the
57
+ # pure-Rust zstd decoder `tf_tree_ingest` reads compressed MCAP chunks with, and
58
+ # the reason it is pure Rust rather than `zstd-sys` is `docs/PHASE2.md` §2's
59
+ # no-C-build-step rule. `ruzstd 0.7.3` would hold 1.85 and has the same two APIs
60
+ # we need (`decode_all` into a slice, a 100 MiB window cap), so this buys
61
+ # currency and a settable cap, not capability — a deliberate trade, not a
62
+ # necessity.
63
+ #
64
+ # One clarification, because the sentence above invites the wrong reading and the
65
+ # wrong reading is a decompression bomb: that 100 MiB caps the decoder's *window*,
66
+ # i.e. its peak working allocation, and **not** its total output. A frame with a
67
+ # 100 MiB window can still decode to terabytes. What bounds output is
68
+ # `IngestOptions::max_chunk_uncompressed_bytes` and `max_chunk_expansion_ratio`,
69
+ # enforced in `tf_tree_ingest::decompress` before anything is allocated.
70
+ #
71
+ # The `msrv` job in `.github/workflows/ci.yml` reads this field and builds on
72
+ # exactly it, so the next silent drift fails the build instead of shipping.
73
+ # Policy: `SUPPORT.md`.
74
+ rust-version = "1.87"
75
+ # **Each publishable crate carries `LICENSE-MIT`, `LICENSE-APACHE` and `NOTICE`
76
+ # as symlinks to the three files beside this manifest**, because `cargo package`
77
+ # ships only what is inside the package directory and a `.crate` tarball is a
78
+ # redistribution: an Apache-2.0 recipient who vendors `tf_tree_core` needs the
79
+ # licence text and the §4(d) NOTICE *in the tarball*, not a URL to a repository
80
+ # that was private when they downloaded it.
81
+ #
82
+ # Symlinks rather than fifteen copies, and the choice is measured rather than
83
+ # assumed: `cargo package` **dereferences** them, so the tarball holds real
84
+ # regular files with the real bytes — verified on cargo 1.95 with a probe crate
85
+ # whose symlinked `LICENSE-MIT` arrived as `-rw-r--r-- … 22` bytes of content.
86
+ # Copies would be fifteen spellings of three texts, which is the thing
87
+ # `docs/PROJECT.md` §6 exists to stop.
88
+ #
89
+ # The one cost, stated because it is invisible until it bites: a Windows
90
+ # checkout without `core.symlinks` writes each link as a text file containing
91
+ # the *path*, and `cargo publish` from such a checkout would ship a 17-byte file
92
+ # where the MIT licence should be. Publishing happens from Linux; if that ever
93
+ # changes, check a tarball before uploading.
94
+ license = "MIT OR Apache-2.0"
95
+ repository = "https://github.com/NoeFontana/tf_tree"
96
+ homepage = "https://github.com/NoeFontana/tf_tree"
97
+ authors = ["Noé Fontana <noe.fontana.pro@gmail.com>"]
98
+ keywords = ["robotics", "tf", "transform", "se3", "ros"]
99
+ categories = ["science::robotics", "no-std"]
100
+
101
+ [workspace.lints.clippy]
102
+ unwrap_used = "deny"
103
+ expect_used = "deny"
104
+ panic = "deny"
105
+ todo = "deny"
106
+ unimplemented = "deny"
107
+ dbg_macro = "deny"
108
+ print_stdout = "warn"
109
+ print_stderr = "warn"
110
+ needless_pass_by_value = "warn"
111
+ redundant_clone = "warn"
112
+
113
+ [workspace.lints.rust]
114
+ missing_docs = "warn"
115
+ unreachable_pub = "warn"
116
+ unused_must_use = "deny"
117
+ # `--cfg loom` is a first-class build mode for tf_tree_core's concurrency tests;
118
+ # registering it workspace-wide keeps `-D warnings` (unexpected_cfgs) happy and
119
+ # lets every crate inherit lints with `[lints] workspace = true`.
120
+ unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)'] }
121
+
122
+ [workspace.dependencies]
123
+ # Intra-workspace crates (version pinned so publishable crates carry a real
124
+ # requirement, not a path wildcard).
125
+ tf_tree_math = { path = "crates/tf_tree_math", version = "0.0.3" }
126
+ tf_tree_arena = { path = "crates/tf_tree_arena", version = "0.0.3" }
127
+ # Phase 2 shared memory (see docs/PHASE2.md §2). Linux-only, opt-in via the
128
+ # `shm` feature; `linux_raw` backend so there is no libc crate and no C build.
129
+ # Only `tf_tree_ipc`, and only for `fcntl(F_OFD_*)`: rustix has no OFD locking
130
+ # (see crates/tf_tree_ipc/src/ofd.rs for why the alternative was worse).
131
+ libc = "0.2"
132
+ rustix = { version = "1.1", default-features = false, features = ["mm", "fs", "std"] }
133
+ # **`default-features = false`, and it is load-bearing.** Without it a
134
+ # downstream `--no-default-features` still gets `tf_tree_core/default`, because
135
+ # a workspace dependency carries its own defaults independently of the
136
+ # depending crate's feature flags. That made `docs/PHASE5.md` §5.5's
137
+ # compile-time switch unreachable *and* silently invalidated §5.7's control
138
+ # measurement — the "counters off" row was measuring the counters-on engine.
139
+ # Every crate that wants them re-enables them through its own `counters`
140
+ # feature, which is what makes the switch actually switch.
141
+ tf_tree_core = { path = "crates/tf_tree_core", version = "0.0.3", default-features = false }
142
+ tf_tree_ipc = { path = "crates/tf_tree_ipc", version = "0.0.3" }
143
+ tf_tree = { path = "crates/tf_tree", version = "0.0.3", default-features = false }
144
+ # publish = false crates, wired by path only (no version requirement published).
145
+ # **`default-features = false` for the same load-bearing reason as `tf_tree`
146
+ # above, and it is easy to miss here.** `tf_tree_bench` has its own
147
+ # `default = ["counters"]` that forwards to `tf_tree/counters`, so without this
148
+ # flag `tf_tree_cli --no-default-features` still linked a counting engine: the
149
+ # CLI's own `counters` feature switched nothing, and `TFT010`'s "built without
150
+ # counters" skip branch was unreachable in every buildable configuration.
151
+ tf_tree_bench = { path = "crates/tf_tree_bench", default-features = false }
152
+ tf_tree_bridge = { path = "crates/tf_tree_bridge" }
153
+ # `docs/PHASE5.md` §3. `default-features = false` for the same reason as
154
+ # `tf_tree` above: the CLI decides whether the engine counts, not this crate.
155
+ tf_tree_ingest = { path = "crates/tf_tree_ingest", default-features = false }
156
+ # no_std numeric + POD casting (the entire core dependency budget, plus blake3).
157
+ libm = "0.2"
158
+ bytemuck = { version = "1", features = ["derive"] }
159
+ blake3 = { version = "1", default-features = false }
160
+ # std-side facade / tooling only.
161
+ thiserror = "2"
162
+ anyhow = "1"
163
+ clap = { version = "4", features = ["derive"] }
164
+ # dev / bench only.
165
+ proptest = "1"
166
+ loom = "0.7"
167
+ criterion = { version = "0.5", features = ["html_reports"] }
168
+ # `tf_tree_bench`'s regression gate reads the committed `results.json` baseline.
169
+ # Already in the lockfile via `criterion`; see that crate's manifest for why the
170
+ # *writer* stays hand-rolled.
171
+ serde_json = "1"
172
+
173
+ [profile.release]
174
+ lto = "thin"
175
+ codegen-units = 1
176
+ debug = "line-tables-only"
177
+ strip = "debuginfo"
178
+
179
+ [profile.dev]
180
+ opt-level = 0
181
+
182
+ [profile.bench]
183
+ lto = "thin"
184
+ codegen-units = 1
185
+
186
+ # Release code that a profiler can attribute to source lines.
187
+ #
188
+ # `[profile.release]` strips debuginfo, which is right for what ships and wrong
189
+ # for finding anything: cachegrind, perf and callgrind all fall back to
190
+ # function-level attribution, and `fold_at` inlines the entire sampling chain
191
+ # into itself. A function-level profile of this engine therefore says "96.6% of
192
+ # branch mispredicts are in `fold_at`" and stops — true, and useless, because
193
+ # `fold_at` *is* the hot path.
194
+ #
195
+ # Same codegen as release so the numbers transfer; only the debuginfo differs.
196
+ [profile.profiling]
197
+ inherits = "release"
198
+ debug = "full"
199
+ strip = "none"
200
+
201
+ # **An embedder's `cargo build --release`, spelled out — `docs/PHASE5.md` §9.2's
202
+ # last row and `docs/API.md` §2.3 item 3.**
203
+ #
204
+ # `Plan::at` sits across a crate boundary from every consumer, and what the
205
+ # `#[inline]` attributes on that path buy depends on the *downstream* profile.
206
+ # This workspace's `[profile.release]` sets `lto = "thin", codegen-units = 1`,
207
+ # which is precisely what hides the effect: every number this repository
208
+ # publishes is taken under whole-program optimisation, and a user's node is not.
209
+ # So the embedding row is measured here, and `[profile.release]` is measured as
210
+ # the contrast.
211
+ #
212
+ # **Every field cargo's own release defaults set is written out rather than
213
+ # inherited**, `inherits` notwithstanding. Inheriting only `lto` and
214
+ # `codegen-units` would make this profile track future edits to
215
+ # `[profile.release]` — and then the row would silently stop describing the
216
+ # thing it is named after. `inherits` is mandatory for a custom profile, so it
217
+ # names `release` and then contradicts it field by field.
218
+ # `crates/tf_tree_bench/src/embed.rs` carries a test that reads these values back
219
+ # out of this file, so the report's statement about what it measured is checked
220
+ # rather than asserted.
221
+ [profile.embedder]
222
+ inherits = "release"
223
+ opt-level = 3
224
+ lto = false
225
+ codegen-units = 16
226
+ debug = false
227
+ strip = "none"
228
+ debug-assertions = false
229
+ overflow-checks = false
230
+ incremental = false
231
+ panic = "unwind"
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for describing the origin of the Work and
141
+ reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Support. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or support.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2025 Noé Fontana
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
200
+ implied. See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Noé Fontana
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,30 @@
1
+ tf_tree
2
+ Copyright 2025-2026 Noé Fontana
3
+
4
+ This product is licensed under either of
5
+
6
+ * Apache License, Version 2.0 (see LICENSE-APACHE)
7
+ * MIT license (see LICENSE-MIT)
8
+
9
+ at your option.
10
+
11
+ Unless you explicitly state otherwise, any contribution intentionally submitted
12
+ for inclusion in this work by you, as defined in the Apache-2.0 license, shall
13
+ be dual licensed as above, without any additional terms or conditions.
14
+
15
+ --------------------------------------------------------------------------------
16
+
17
+ This file exists to satisfy Apache-2.0 section 4(d) for redistributors. It
18
+ carries no third-party attributions of its own: `tf_tree` vendors no source and
19
+ statically links no code it did not write. Its Rust dependencies are ordinary
20
+ crates.io dependencies, each under its own licence, resolved at build time and
21
+ enumerated in `Cargo.lock`; the set is constrained by `deny.toml` and checked by
22
+ `cargo deny check`, which `just lint` runs.
23
+
24
+ `tf_tree` is not affiliated with, endorsed by, or derived from the Open Source
25
+ Robotics Foundation, ROS, or the `tf` / `tf2` packages. It is an independent
26
+ implementation that solves the same problem; no ROS source is copied or linked
27
+ into it. The optional `tf2` comparison harness (`crates/tf_tree_tf2_sys`, and
28
+ `crates/tf_tree_bench` behind `--features tf2`) links against a ROS 2 install
29
+ that the person running it provides, is excluded from the workspace, is not
30
+ published, and is not part of any release artifact.