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

Fixing Docs.rs #905

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Fixing Docs.rs #905

merged 1 commit into from
Oct 26, 2023

Conversation

ArvidHammarlund
Copy link
Contributor

At the moment docs.rs fails to compile due to
not being able to link to Cuda or other backend
specific configurations, which it seemingly has
to do to compile the docs of those crates.

I have now removed the backends from being part
of the included features to be displayed on
docs.rs, so that only the crates that pertains
to the upper-level api remains.

As it was me who added the all-features flag in
the first place, I must apologize for any
inconvenience caused!

The resulting docs.rs output can be seen by running: cargo doc -F dataset -F default -F std -F train -F train-tui -F train-metrics -F dataset-sqlite --open

At the moment docs.rs fails to compile due to
not being able to link to Cuda or other backend
specific configurations, which it seemingly has
to do to compile the docs of those crates.

I have now removed the backends from being part
of the included features to be displayed on
docs.rs, so that only the crates that pertains
to the upper-level api remains.

As it was me who added the all-features flag in
the first place, I must apologize for any
inconvenience caused!

The resulting docs.rs output can be seen by running: cargo doc -F dataset -F default -F std -F train -F train-tui -F train-metrics -F dataset-sqlite --open
@codecov
Copy link

codecov bot commented Oct 26, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7332ebc) 86.33% compared to head (100039a) 86.33%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #905   +/-   ##
=======================================
  Coverage   86.33%   86.33%           
=======================================
  Files         469      469           
  Lines       44030    44030           
=======================================
  Hits        38014    38014           
  Misses       6016     6016           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nathanielsimard
Copy link
Member

@ArvidHammarlund No worries, it's hard to actually test the flags without actually pushing on docs.rs. Thanks for fixing it :)

@nathanielsimard nathanielsimard merged commit a9567ab into tracel-ai:main Oct 26, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants