Files
mercator_db/Cargo.toml

56 lines
1.4 KiB
TOML

[package]
name = "mercator_db"
version = "0.1.0"
authors = ["EPFL-DIAS", "Lionel Sambuc <lionel.sambuc@epfl.ch>"]
edition = "2018"
description = "Database model for mercator."
#homepage = "https://crates.io/crates/mercator_db"
repository = "https://github.com/epfl-dias/mercator_db"
readme = "README.md"
keywords = []
categories = ["database-implementations", "data-structures"]
license = "MIT"
#license-file = "LICENSE"
include = ["Cargo.toml", "README.md", "LICENSE", "ACKNOWLEDGEMENTS", "src/**/*.rs"]
[lib]
name = "mercator_db"
path = "src/lib.rs"
[[bin]]
name = "db-test"
path = "src/main.rs"
required-features = ["bin"]
[features]
bin = ["measure_time", "pretty_env_logger"]
[profile.release]
lto = true
[dependencies]
ironsea_index = "0.1"
ironsea_index_sfc_dbc = "0.1"
ironsea_index_hashmap = "0.1"
arrayref = "0.3" # For Positions Objects
lazy_static = "1.5"
memmap = "0.7"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
bincode = "1.3"
# Logging macros API
#log = { version = "0.4", features = ["max_level_trace", "release_max_level_info"] }
log = { version = "0.4", features = ["max_level_trace", "release_max_level_trace"] }
# Used for main.rs as integration test
pretty_env_logger = { version = "0.5", optional = true } # Logger implementation
measure_time = { version = "0.8", optional = true } # To mesure parsing time, only required by binary