Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
baoyachi committed Aug 17, 2020
1 parent e75ef85 commit 84c7788
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shadow-rs"
version = "0.3.9"
version = "0.3.10"
authors = ["baoyachi <[email protected]>"]
edition = "2018"
description = "A tool record compiled project much information,version info,dependence info.Like shadow,if compiled,never change.forever follow your project."
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ use std::fs::File;
use std::io::Write;
use std::path::Path;

pub use err::{SdResult, ShadowError};

const SHADOW_RS: &str = "shadow.rs";

/// record compiled project much information.
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
extern crate shadow_rs;

use shadow_rs::Shadow;
use shadow_rs::{SdResult, Shadow};
use std::fs;

fn main() -> shadow_rs::err::SdResult<()> {
fn main() -> SdResult<()> {
let src_path = std::env::var("CARGO_MANIFEST_DIR")?;

Shadow::build(src_path, "./".to_string())?;
Expand Down

0 comments on commit 84c7788

Please sign in to comment.