Skip to content

Commit b9d70cd

Browse files
emilkWumpf
andauthored
Prepare crates for publishing (#1197)
* Link to the CODE_OF_CONDUCT.md * Add publish=true to the crates that are going to be published * Add authors.workspace = true * Add readme, repository, and homepage to all published crates * Each crate must have its own README.md * Document re_memory better * Update descriptions and README.md:s for all the different crates * Missing license field for re_viewer * tweak re_memory/README.md Co-authored-by: Andreas Reich <[email protected]> * Expand some README.md:s --------- Co-authored-by: Andreas Reich <[email protected]>
1 parent 93c6052 commit b9d70cd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+317
-123
lines changed

ARCHITECTURE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ This document describes the technical architecture of Rerun.
33

44
## See also
55
* [`BUILD.md`](BUILD.md)
6+
* [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md)
67
* [`CODE_STYLE.md`](CODE_STYLE.md)
78
* [`CONTRIBUTING.md`](CONTRIBUTING.md)
89
* [`RELEASES.md`](RELEASES.md)

BUILD.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ This is a guide to how to build Rerun.
44

55
## See also
66
* [`ARCHITECTURE.md`](ARCHITECTURE.md)
7+
* [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md)
78
* [`CODE_STYLE.md`](CODE_STYLE.md)
89
* [`CONTRIBUTING.md`](CONTRIBUTING.md)
910
* [`RELEASES.md`](RELEASES.md)

CODE_OF_CONDUCT.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,4 +130,3 @@ For answers to common questions about this code of conduct, see the FAQ at
130130
[Mozilla CoC]: https://github.com/mozilla/diversity
131131
[FAQ]: https://www.contributor-covenant.org/faq
132132
[translations]: https://www.contributor-covenant.org/translations
133-

CODE_STYLE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## See also
44
* [`ARCHITECTURE.md`](ARCHITECTURE.md)
55
* [`BUILD.md`](BUILD.md)
6+
* [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md)
67
* [`CONTRIBUTING.md`](CONTRIBUTING.md)
78
* [`RELEASES.md`](RELEASES.md)
89

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This is written for anyone who wants to contribute to the Rerun repository.
55
## See also
66
* [`ARCHITECTURE.md`](ARCHITECTURE.md)
77
* [`BUILD.md`](BUILD.md)
8+
* [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md)
89
* [`CODE_STYLE.md`](CODE_STYLE.md)
910
* [`RELEASES.md`](RELEASES.md)
1011

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ members = [
1111
]
1212

1313
[workspace.package]
14-
version = "0.1.0"
14+
authors = ["rerun.io <[email protected]>"]
1515
edition = "2021"
16-
rust-version = "1.67"
17-
license = "MIT OR Apache-2.0"
1816
homepage = "http://rerun.io"
19-
readme = "README.md"
17+
license = "MIT OR Apache-2.0"
2018
repository = "https://github.com/rerun-io/rerun"
19+
rust-version = "1.67"
20+
version = "0.1.0"
2121

2222
[workspace.dependencies]
2323
anyhow = "1.0"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ The Rerun open source project targets the needs of individual developers. The co
8080
# Development
8181
* [`ARCHITECTURE.md`](ARCHITECTURE.md)
8282
* [`BUILD.md`](BUILD.md)
83+
* [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md)
8384
* [`CODE_STYLE.md`](CODE_STYLE.md)
8485
* [`CONTRIBUTING.md`](CONTRIBUTING.md)
8586
* [`RELEASES.md`](RELEASES.md)

RELEASES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ This document describes the current release and versioning strategy. This strate
55
## See also
66
* [`ARCHITECTURE.md`](ARCHITECTURE.md)
77
* [`BUILD.md`](BUILD.md)
8+
* [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md)
89
* [`CODE_STYLE.md`](CODE_STYLE.md)
910
* [`CONTRIBUTING.md`](CONTRIBUTING.md)
1011

crates/re_analytics/Cargo.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
[package]
22
name = "re_analytics"
3-
version.workspace = true
3+
authors.workspace = true
4+
description = "Rerun's analytics SDK"
45
edition.workspace = true
5-
rust-version.workspace = true
6+
homepage.workspace = true
67
license.workspace = true
7-
publish = false
8+
publish = true
9+
readme = "README.md"
10+
repository.workspace = true
11+
rust-version.workspace = true
12+
version.workspace = true
813

914

1015
[dependencies]

crates/re_analytics/README.md

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,41 @@
1-
Rerun's analytics SDK.
1+
# Rerun's analytics SDK
2+
3+
We use [PostHog](https://posthog.com/) to collect anonymous usage statistics.
4+
5+
Usage data we do collect will be sent to and stored in servers within the EU.
6+
7+
You can audit the actual data being sent out by inspecting the Rerun data directory directly.
8+
Find out its location by running `rerun analytics config`.
9+
10+
11+
### Opting out
12+
Run `rerun analytics disable` to opt out of all usage data collection.
13+
14+
### What data is collected?
15+
The exact set of analytics events and parameters can be found here: <https://github.com/rerun-io/rerun/blob/main/crates/re_analytics/src/events.rs>
16+
17+
- We collect high level events about the usage of the Rerun Viewer. For example:
18+
- The event 'Viewer Opened' helps us estimate how often Rerun is used.
19+
- The event 'Data Source Connected' helps us understand if users tend to use live
20+
data sources or recordings most, which helps us prioritize features.
21+
- We associate events with:
22+
- Metadata about the Rerun build (version, target platform, etc).
23+
- A persistent random id that is used to associate events from
24+
multiple sessions together. To regenerate it run `rerun analytics clear`.
25+
- We may associate these events with a hashed `application_id` and `recording_id`,
26+
so that we can understand if users are more likely to look at few applications often,
27+
or tend to use Rerun for many temporary scripts. Again, this helps us prioritize.
28+
- We may for instance add events that help us understand how well the auto-layout works.
29+
30+
### What data is NOT collected?
31+
- No Personally Identifiable Information, such as user name or IP address, is collected.
32+
- This assumes you don't manually and explicitly associate your email with
33+
the analytics events using the analytics helper cli.
34+
(Don't do this, it's just meant for internal use for the Rerun team.)
35+
- No user data logged to Rerun is collected.
36+
- In some cases we collect secure hashes of user provided names (e.g. `application_id`),
37+
but take great care do this only when we have a clear understanding of why it's needed
38+
and it won't risk leaking anything potentially proprietary.
39+
40+
### Why do we collect data?
41+
- To improve the Rerun open source library.

0 commit comments

Comments
 (0)