disable std by default for downcast

This commit is contained in:
Robin Müller 2022-08-14 19:51:51 +02:00
parent 8418085fb1
commit 207fa55bf3
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 22 additions and 4 deletions

View File

@ -0,0 +1,19 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Doctest" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
<option name="command" value="test --doc" />
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
<option name="channel" value="DEFAULT" />
<option name="requiredFeatures" value="true" />
<option name="allFeatures" value="false" />
<option name="emulateTerminal" value="false" />
<option name="withSudo" value="false" />
<option name="buildTarget" value="REMOTE" />
<option name="backtrace" value="SHORT" />
<envs />
<option name="isRedirectInput" value="false" />
<option name="redirectInputPath" value="" />
<method v="2">
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
</method>
</configuration>
</component>

View File

@ -9,14 +9,13 @@ edition = "2021"
thiserror = "1.0"
bus = "2.2.3"
num = "0.4"
downcast-rs = { version = "1.2.0" }
[dependencies.spacepackets]
path = "../spacepackets"
#[dependencies.downcast-rs]
#version = "1.2.0"
#default-features = false
[dependencies.downcast-rs]
version = "1.2.0"
default-features = false
[dev-dependencies]
postcard = { version = "1.0.1", features = ["use-std"] }