Skip to content

Commit

Permalink
Move crate to root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Nov 22, 2023
1 parent 5946d9f commit e15806f
Show file tree
Hide file tree
Showing 26 changed files with 21 additions and 34 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,11 @@ name: Coverage
on:
push:
branches: main
paths:
- itf/**
pull_request:
paths:
- itf/**

jobs:
coverage:
runs-on: ubuntu-latest
defaults:
run:
working-directory: itf
env:
CARGO_TERM_COLOR: always
steps:
Expand All @@ -37,5 +30,5 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: itf/lcov.info
files: lcov.info
fail_ci_if_error: true
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+" # Push events to matching v*, i.e. v0.26.0, v1.0.0
- "v[0-9]+.*"

jobs:
publish:
Expand Down
23 changes: 18 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
[workspace]
resolver = "2"
[package]
name = "itf"
version = "0.2.0"
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
authors = ["Informal Systems <[email protected]>"]
keywords = ["apalache", "serialization", "trace"]
description = "Library for consuming Apalache ITF traces"
repository = "https://github.com/informalsystems/itf-rs"
documentation = "https://docs.rs/itf"
rust-version = "1.65"

members = [
"itf",
]
[dependencies]
num-bigint = { version = "0.4", features = ["serde"] }
num-traits = { version = "0.2" }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["raw_value"] }
serde_with = { version = "3.4.0" }
File renamed without changes.
19 changes: 0 additions & 19 deletions itf/Cargo.toml

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion itf/src/lib.rs → src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![doc = include_str!("../../README.md")]
#![doc = include_str!("../README.md")]

use serde::de::DeserializeOwned;
use serde::Deserialize;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e15806f

Please sign in to comment.