fix(build): add `libc` dependency for documentation
Also enable add features for docs.rs
@@ -23,10 +23,14 @@ is-it-maintained-open-issues = { repository = "enarx/sallyport" }
[dependencies]
gdbstub = { version = "0.6.0", default-features = false, optional = true }
goblin = { version = "0.5", default-features = false, features = [ "elf64" ] }
+libc = { version = "0.2.119", default-features = false, optional = true }
[dev-dependencies]
serial_test = "0.6"
memoffset = "0.6.5"
[features]
-doc = [ "gdbstub" ]
+doc = [ "gdbstub", "libc" ]
+
+[package.metadata.docs.rs]
+all-features = true
